Improve Jqhtml_Integration.js documentation with hydration system explanation Add jqhtml-laravel integration packages for traditional Laravel projects 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
232 B
JavaScript
11 lines
232 B
JavaScript
'use strict';
|
|
|
|
// populates missing values
|
|
module.exports = function (dst, src) {
|
|
Object.keys(src).forEach(function (prop) {
|
|
dst[prop] = dst[prop] || src[prop]; // eslint-disable-line no-param-reassign
|
|
});
|
|
|
|
return dst;
|
|
};
|