components
components copied to clipboard
Improve the repeater "data" for better performance
In here: https://github.com/MobileUI/components/blob/master/mobileuijs
MobileuiJS is a small lib for repeating the data of an array in html, similar to the ng-repeat of AngularJS, but much simpler.
It is used when the developer does not want to use a more efficient lib and natively do (js) their app functions.
Today mobileuijs only traverses the elements of an array and uses a replace () to change the data, however it is inefficient, it would be better to use regex or even another webview-compatible feature to make a better performance.