This commit is contained in:
Adam Bradley
2013-08-23 13:05:38 -05:00
parent d9f7577508
commit dedfe2dc69
5 changed files with 9840 additions and 18 deletions

View File

@ -0,0 +1,11 @@
(function(window, document, framework) {
framework.trigger = function(type, data) {
window.dispatchEvent( new CustomEvent(type, data) );
};
framework.on = function(type, callback) {
window.addEventListener(type, callback);
};
})(this, document, this.FM = this.FM || {});