Releases: coreorm/simple.js
Releases · coreorm/simple.js
Bower install and todo list app
add bower install
bower install is now available.
bug fix and remove unnecessary features
- bug fix for input names
- remove preselect/check/etc. make it more data-driven and user should really do it
- remove callback for parsing data - it should be done not at run time, but before render starts, use
app.on(SimpleAppWillRender, 'foo', function () {
// process data
});
instead.
major update
- added multiple sub section support for templates
- added todo-list example (with less than 120lines code including template, logic, storage, everything!)
- unit test coverage
- speed improvement again (4ms on mobile safari for todo-list entry/delete/update/etc)
unit test coverage
unit test coverage 40%
- all of rendering
- stateIsUpdated callback
to do:
all other callbacks plus custom rendering options.
Client-side test + bug fix
- Client side test
- fix for adding nodes
add version, coding style fix, remove unnecessary func definitions
- add version
- renamed var ms = function() and the likes to function ms() for better availability
- add script to generate versions.
bug fix for master
bug fix, also remove unnecessary simpleEvent class.
minor fix: remove skipEmptyData and always skip it
Just realized having empty data still rendering the template doesn't make sense, thus it's now abandoned - empty data will result in nothing rendered for the related element.
the working release
This release contains the following:
- fully working simple app js lib.
simple.min.js
- 30% complete on simple app site http://coreorm.github.io/simple.js
- 5% unit test coverage
- 100% jsdoc on simple app apis
- example apps
And the main simple app now contains the following features:
- native JS, not a single line of external lib (naturally)
- partial render support (with targeted DOM operations - much faster than innerHTML or jQuery DOM)
- dynamically add new elements by using key:
_sibling: "[name-of-sibling-element]"
and the lib will render only the new element and append to the parent of the sibling, without re-rendering the whole thing - code refactor and simplification
- performance improvements