1.1.6 • Published 7 years ago

yeah v1.1.6

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Yeah

Yet another event handler (AKA Sub/Pub). What seperates Yeah from other Sub/Pub helpers is it provides two key features to help deal with event heavy applications; Compound events and Latched events.

window.yeh = window.yeh || [];

yeh.push(['compound', 'app.ready', ['dom.ready','yeh.ready']]);

window.yeh = yeah('yeh', {
  initialize: function() {
    console.log('Start the application!');
  }
});

$(document).domready(yeh.callMeMaybe('dom.ready'));
yeh.on('app.ready', yeh.initialize);
1.1.6

7 years ago

1.1.1

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

10 years ago

0.0.0

11 years ago