Lloyd Brookes

Results 14 issues of Lloyd Brookes

Low priority but would be nice to have some input validation which ensures the config supplied is valid. E.g. ensure a `customOrder` is either a function or array of values....

enhancement
good first issue

Update `customOrders` to also accept a [standard sort compare function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#parameters). E.g. ```js sortArray(partsOfTheDay, { order: 'time', customOrders: { time: (a, b) => return a > b ? 1 : -1...

enhancement

Something more useful than `node`. [Backstory](https://github.com/lwsjs/local-web-server/discussions/181).

When rendering a compiled template with an array of custom class instances, [this line](https://github.com/handlebars-lang/handlebars.js/blob/f422bfdf3ed321c32c6eecfaa778de46275fb76d/lib/handlebars/runtime.js#L70) butchers the input class instance replacing it with a plain object with all custom class behaviour...

bug