Advertisement
Guest User

Untitled

a guest
Dec 20th, 2014
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. SomeView = Backbone.View.extend({
  2.  
  3. events: {
  4. "click .next": "nextClicked",
  5. "click .previous": "previousClicked"
  6. },
  7.  
  8. nextClicked: function(e){
  9. e.preventDefault();
  10. this.trigger("next")
  11. },
  12.  
  13. previousClicked: function(e){
  14. e.preventDefault();
  15. this.trigger("previous");
  16. }
  17.  
  18. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement