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
221 B
JavaScript
11 lines
221 B
JavaScript
'use strict';
|
|
|
|
module.exports = function keys() {
|
|
var collection = Object.keys(this.items);
|
|
|
|
if (Array.isArray(this.items)) {
|
|
collection = collection.map(Number);
|
|
}
|
|
|
|
return new this.constructor(collection);
|
|
}; |