Created
May 25, 2014 17:07
-
-
Save sri-rang/41b1ee6556321ea2e706 to your computer and use it in GitHub Desktop.
Evina: Usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
evina.on("some-event", function (context) { | |
console.log("some event happened") | |
}); | |
evina.trigger("some-event", {hello: "world"}); | |
evina.off("some-event"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment