Skip to content

Instantly share code, notes, and snippets.

@kubosho
Created October 8, 2012 15:12
Show Gist options
  • Save kubosho/3853042 to your computer and use it in GitHub Desktop.
Save kubosho/3853042 to your computer and use it in GitHub Desktop.
Event dispatcher
(function (window) {
function EventDispatcher() {
}
EventDispatcher.prototype = {
hasEvent: function () {
},
add: function () {
},
remove: function () {
},
removeAll: function () {
},
dispatch: function () {
}
};
window.EventDispatcher = EventDispatcher;
}(window));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment