Releases: fordth/jinqJs
Latest fixes
Number of fixes and enhancements requested by users. Thank you!
Thanks to gpminsuk for finding an issue when a propery in a collection had a 0 value, a null was returned!
Thanks to pascalberge, moved the jinqJs definition file to scripts\typings\jinqJs.
Thanks to pemn, for finding if a collection has been added using a from() and then later .delete().at() is called with no parameters, the internal variable collections is not being cleared.
Thanks to ninety7 for suggesting using string.localeCompare() for ordering.
Added support to select from an array that contains arrays.
Thanks to gpminsuk for recommending a change to isObject() you can now perform a select on an array that contains arrays.For example: jinqJs().from([[1,2,3],[4,5,6]]).select(2) Will return the second element of each of the arrays in the root array.
Added support to run jinqJs as an Angular 1.x service
v1.5.9 Added support for Angular 1.x as a Service
Added IAggregate to TypeScript definition
v1.5.8 Added IAggregate to TypeScript definition
Fixed issue when R-Value contained a space
Fixed bug when R-Value of an expression contained spaces.
Added bower support
v1.5.5 Added bower support
Added TypeScript Support
Added TypeScript definition file.
Changed .at() and .update() first parameter type to an array
The two parameters passed to the delegate are now (collection, index). This was changed due to an issue when trying to update simple arrays i.e. [1,2,3,4,5], since they are not object types they were not getting updated.
Added Support For Update & Delete Operations
Added Update() & Delete() Added update() and delete() functions.