
Hi, for now it won't have any visible changes but in cases you have to order, filter and perform things with arrays, you can follow this guide: https://lodash.com/docs Just like jQuery, you can call a lodash function with the "_" namespace instead of using "$". I'm using it for the Sensors Monitor on Ginger and I'm currently trying to update just the collapsed sensors from the tree view using the _filter() function. -----Original Message----- From: kimchi-devel-bounces@ovirt.org [mailto:kimchi-devel-bounces@ovirt.org] On Behalf Of Socorro Stoppler Sent: terça-feira, 14 de junho de 2016 12:00 To: sguimaraes943@gmail.com; Kimchi Devel <kimchi-devel@ovirt.org> Subject: Re: [Kimchi-devel] [PATCH] [Wok] Added lodash.js library to Wok Hi Samuel, I was able to apply the patch successfully. For this patch, is there really anything else to look at other than successfully being able to apply it? Thanks -Socorro On 06/14/2016 04:35 AM, sguimaraes943@gmail.com wrote:
From: Samuel Guimarães <sguimaraes943@gmail.com>
Lodash makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, etc.
This library is necessary in order to redesign Ginger Sensor Monitors. With this library we can also improve other panels that have dynamically generated content that we have to iterate through arrays of objects.
If the patch doesn't apply because it is a minified library, please let me know.
Samuel Guimarães (1): Added lodash.js library to Wok
configure.ac | 1 + ui/libs/Makefile.am | 2 +- ui/libs/lodash/LICENSE | 24 +++++++++ ui/libs/lodash/Makefile.am | 21 ++++++++ ui/libs/lodash/lodash.js | 127 +++++++++++++++++++++++++++++++++++++++++++++ ui/pages/login.html.tmpl | 1 + ui/pages/wok-ui.html.tmpl | 1 + 7 files changed, 176 insertions(+), 1 deletion(-) create mode 100644 ui/libs/lodash/LICENSE create mode 100644 ui/libs/lodash/Makefile.am create mode 100644 ui/libs/lodash/lodash.js
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel