jj-mediator

0.2.8 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i jj-mediator

Weekly Downloads

0

Version

0.2.8

License

MIT

Last publish

Collaborators

  • yanoosh