Created
March 16, 2012 18:20
-
-
Save zuk/2051631 to your computer and use it in GitHub Desktop.
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
| jQuery(veos).bind('gmaps.ready', function() { | |
| /* dependent code goes here */ | |
| }); |
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
| /* veos.gmaps.js */ | |
| window.veos = (function(veos) { | |
| var self = {}; | |
| /* gmaps funcitonality goes here */ | |
| /* this binds it under the veos.gmaps module namespace */ | |
| veos.model = self; | |
| return veos; | |
| })(window.veos || {}); | |
| /* notify veos */ | |
| jQuery(veos).trigger('gmaps.ready'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment