- Fixed #59: Adding unknown keys to ajax objects
- Fixed #58: module
kill
method support, added related unit tests
- Updated EventDispatcher, added related unit tests
- Fixed #5: When failing at resolving a shortcut, domino will no more remove its prefix (thanks Yomguithereal!)
- Updated NPM dependencies to their latest versions
- Fixed #49: Added
domino.struct.existing
- Fixed #51:
domino.module
inheritance facultative - Fixed #50 and #52 (thanks ZorGleH!)
- Fixed #47 (the bug was actually related to a recent quick fix)
- Fixed #40: Hash instead of arrays for domino (works for
properties
,services
andshortcuts
) - Fixed #44: Added
log
,warn
anddie
in modules - Fixed #25: Simultaneous calls
success
works - Added
update
to the methods to disable in fake scopes - Fixed #43 (Inconsistent
dispatchEvent
polymorphism) - Fixed #42: Improved
before
feature in services - Fixed #36: DOM elements are no more cloned
- Published to NPM
- Switched from the Makefile to Grunt
- Switched from Closure Compiler to Uglify
- Lot of minor changes to make domino.js become usable on Node.js
- Fixed #29: Version info in development file
- Fixed #26: Descriptions management and
help()
instance method - Fixed #32 (
dispatchEvent
not dispatching data when called from a service) - Fixed #23: Referencing modules with unique IDs
- Fixed #28 (Uncaught error when
expect
callback fails) - Fixed #27: Fixed "force" property parameter
- Fixed #30: Enabled "includes" flag in custom structures
- Added the
killModule
method to cleanly remove every bindings between a module and its relateddomino
instance. - Fixed #22: Hacks
description
field added for logging. Set the parameter"logDescriptions"
tofalse
to quit logging hacks descriptions.
- Fixed #10: Added log when
expect
callbacks fail - Fixed #11: Added an access to the global configuration hash of any instance, through the method
configuration
- Fixed #20: Added an
update
method in scopes - Added
addEventListener
,removeEventListener
andgetEvent
access in global instances - Cleaned up existing tests and examples
- Added unit tests for
hacks
src/domino.modules.js
has moved toexamples/modules.js
- Added emitter reference to the main loop.
- Each loop now has an ID, which is logged at every iteration
- Added possibility to add a maximum loop iterations depth in settings (
"maxDepth"
) - Fixed: Events
data
are no more lost from a_mainLoop
iteration to the next one domino.EventDispatcher
is now prototypedrequest
now accept an array of objects as argument.- Unless the settings key
"mergeRequests"
isfalse
, parallel requests are now "merged" to prevent parallel loops multiplication when:- the
request
method is called several time in the same callback (hack, success, etc...) - the
request
method is called with an array of services descriptions
- the
- Added
expect
feature to filter successful service calls. - Added unit tests for services.
- Added a sample with two instances communicating through a server emulated with jquery.mockjax.js.
- Fixed #1: 1
request
anddispatchEvent
have the same behaviour from instance and from scopes. - Fixed #4: 4
request
anddispatchEvent
from scopes are disabled when the scopes are analyzed. - Improved a bit environment.
- Fixed shortcuts priority: custom objects > properties > shortcuts
update(key, value)
now works- Added possibility to override any setting in each instance
- Added possibility to override
clone
property for each property - Using
data
when calling a service now eventually overrides the functiondata
in the service declaration - Adding a hack with only a
triggers
property allows transversal communication between modules - Custom structures (see documentation)
- domino.js first release
- project web page also released at http://dominojs.org (branch
gh-pages
)