Skip to content

Releases: coreorm/simple.js

Bower install and todo list app

09 Mar 12:42
Compare
Choose a tag to compare

this is the one behind the todo list app.

add bower install

07 Mar 23:44
Compare
Choose a tag to compare

bower install is now available.

bug fix and remove unnecessary features

05 Mar 14:54
Compare
Choose a tag to compare
  • 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

05 Mar 13:16
Compare
Choose a tag to compare
  • 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

03 Mar 11:37
Compare
Choose a tag to compare

unit test coverage 40%

  • all of rendering
  • stateIsUpdated callback

to do:
all other callbacks plus custom rendering options.

Client-side test + bug fix

03 Mar 03:02
Compare
Choose a tag to compare
  • Client side test
  • fix for adding nodes

add version, coding style fix, remove unnecessary func definitions

29 Feb 10:43
Compare
Choose a tag to compare
  • add version
  • renamed var ms = function() and the likes to function ms() for better availability
  • add script to generate versions.

bug fix for master

28 Feb 11:50
Compare
Choose a tag to compare

bug fix, also remove unnecessary simpleEvent class.

minor fix: remove skipEmptyData and always skip it

26 Feb 12:31
Compare
Choose a tag to compare

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

25 Feb 11:41
Compare
Choose a tag to compare

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