Created
August 1, 2013 17:39
-
-
Save PabloVallejo/6133547 to your computer and use it in GitHub Desktop.
app.js.global-events
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
diff --git a/assets/js/handlers/comment.js b/assets/js/handlers/comment.js | |
index 4cd330d..bb08dd5 100644 | |
--- a/assets/js/handlers/comment.js | |
+++ b/assets/js/handlers/comment.js | |
@@ -8,6 +8,12 @@ | |
initialize: function() { | |
+ // Bind to global event `user.login`. | |
+ // window.Bppl.Event.on( 'user.login', this.functionToCall ); | |
+ | |
+ // Opening the modal. | |
+ window.Bppl.Views.User.toggleLogin( 'user.login' ); | |
+ | |
} | |
, events: { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment