Last active
August 29, 2015 14:15
-
-
Save ipmsteven/39a5b9ec6a89dd3a70fd to your computer and use it in GitHub Desktop.
this $
This file contains hidden or 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
| var selectFlight = { | |
| fetchingFlights : null, | |
| init: function(){ | |
| $("#tabs").bind({ | |
| click: this.changeTab | |
| }); | |
| $('a').click(function(event) { | |
| event.preventDefault(); | |
| this.showFlights(); | |
| }.bind(this)); | |
| }, | |
| showFlights: function(){ | |
| alert('show flights'); | |
| }, | |
| changeTab: function(){ | |
| alert('change Tab'); | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment