Created
April 29, 2011 21:42
-
-
Save ericf/949090 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
| // Google Map | |
| YUI.Env.DBD || (YUI.Env.DBD = {}); | |
| YUI.Env.DBD[Y.stamp(this, true)] = { map: Y.bind(this.useComponent, this, 'map') }; | |
| Y.Get.script(sub(Y.DBD.App.GOOGLE_MAPS_URL, { id : Y.stamp(this, true) })); | |
| // Statically defined: | |
| GOOGLE_MAPS_URL : 'http://maps.google.com/maps/api/js?sensor=false&callback=YUI.Env.DBD.{id}.map', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment