jj-mediator

Mediator for JavaScript


License
MIT
Install
bower install jj-mediator

Documentation

Build Status Dependency Status devDependency Status

jj-mediator

Mediator for JavaScript. Loading and initializing module by event. Don't worry when code has errors! Mediator ignores broken modules.

Download and run example on your PC

npm install && npm start

Build

node_modules/.bin/grunt build

Wiki

Check wiki to find more information about mediator, modules, requirejs ...

ToDo:

  • Custom converter from event name to module name
  • Defining relations between modules (passing event between modules) - or added special module with feature.

    • simple: event -> event
    • multiple: event -> events
    • complex: event -> function - ready? or return events list.
  • debug on send error by throw. Hide errors in production env +1.

  • add test for r.js build min files.