- added
Mediator.send
method - added
Mediator.pipe
method - added Mediator option
publishOriginalChannels
- check Sandbox type in Core constructor
- fixed i18n plugin (not it works with the submodule plugin and a global dict)
- added i18n plugin option
global
- added option to
Mediator.installTo
to force overriding existing properties - added option
useGlobalMediator
to the submodule plugin - added option
mediator
to the submodule plugin - added submodule example
- fixed requireJS example
- fixed grunt task for custom builds
- strophe plugin
- expose the mediator
- fixed error emitting on failed connection
- compile with coffee-script 1.7.1
- fixed restarting modules
- speed up argument extraction
- little refactoring
- no more sandbox manipulation
- added start option to use a separate sandbox
- removed modules directory (building modules is your own business; above all they should depend on YOUR sandbox)
- available at cdnjs.com
- improved README
- bugfixes
- added a
Core
class that can be instantiated (var core = new scaleApp.Core();
) - new plugin API (
scaleApp.plugins.register
moved tocore.use
)- support asynchronous plugins
- added
boot
method to initialize asynchronous plugins
- changed API
startAll()
is nowstart()
stopAll()
is nowstop()
- the API is now chainable (e.g.
core.use(X).register("foo",bar).start("foo")
) - removed
setInstanceOptions
- removed
unregister
andunregisterAll
- dropped
subscribe
,unsubscribe
andpublish
from Mediator API (useon
,off
andemit
instead) - the methods
lsModules
,lsInstances
,lsPlugins
moved to thels
plugin - the
destroy
method of a module is now optional - the
callback
property of the start option object was removed. Use themodulestate
plugin instead
- plugins
- new
submodule
plugin - improved
permission
andi18n
- new
modulestate
plugin to emit events on module state changes
- new
- cleaner code
Mediator
: do not clone objects any more (do it manually instead)- test with mocha, chai, sinon, karma and PhantomJS instead of buster.js
- grunt as build systemt
- added waterfall flow control method
- improved permission plugin
- improved state plugin (thanks to Strathausen)
- added xmpp (stropje.js) plugin
- added a simple clock module
- added bower support
- added this changelog
- bug fixes
- added support for async. callback of the
publish
method - added amd support
- bug fixes
- added permission plugin
- ported specs to buster.js
- support for global i18n properties
- support for async. and sync. module initialization
- simpified Mediator code
- bugfixes
- added
lsModules
andlsInstances
- improved README
- run tests with jasmine-node instead of JSTestDriver
- added travis testing
- improved README
- bugfixes
- improved Mediator
- ported to Coffee-Script
- removed jQuery dependency
- bugfixes
- improvements
- first release