Software Details:
Version: 0.8.1
Upload Date: 13 May 15
Distribution Type: Freeware
Downloads: 48
Stapes.js was developed for mobile app development. That's why is so small and lacks the features of a full-blown MVC framework.
That's also why it doesn't have any per-defined proper working Models, Views or Controllers, nor does routers and collections.
Features:
- A powerful, simple event system using on and emit methods.
- Inheritance using create and extend
- Event-triggering attributes using get and set
- Powerful filter and remove methods for attributes
- Usable in traditional JavaScript, as an AMD module (for Require.js) or on the server with Node.js
- A simple mechanism for writing plugins and extensions to extend the functionality of Stapes
- Nice extensive documentation with lots of examples
- Optimized to use with ECMAScript 5 features when they're available in the browser
What is new in this release:
- create() has been completely removed after the deprecation in 0.7.0.
- Set now also accepts the silent flag for objects.
- Remove without any arguments now removes all attributes in a module.
- The silent flag did not work with pus.
What is new in version 0.7.0:
- Completely revised the creation of new modules with subclass. The old create is still available for backwards compatibility. Read here why i deprecated create.
- Added a map function to every module.
- Update now gets the module set as the this context, and gets the key in the callback function.
- Update now has a silent option too.
- Remove now accepts multiple keys to remove.
What is new in version 0.5.1:
- Features:
- All private methods are now part of the Stapes._ which means plugin authors can overwrite and redefine every part of Stapes.
- Bugfix:
- Fixed a bug where calling create() on a module wouldn't increase the guid.
What is new in version 0.5:
- Added event to any method using the mixinEvents method
- Added the off event method to remove event handlers
- The two todos examples are updated to the latest version from TodoMVC
What is new in version 0.4:
- Feature:
- Added the whole bunch of utility methods.
- Added an each method to Modules for easy iteration over attributes
- Added a size method to get the number of attributes in a module.
- Bugfix:
- Data in event handlers was silently changed to null if it was falsy, so passing false as a data argument would result in handlers getting null instead of the expected data argument.
What is new in version 0.2.1:
- Fixed a bug with guid on global events.
Requirements:
- JavaScript enabled on client side
Comments not found