Skip to content

Instantly share code, notes, and snippets.

@ricroberts
Created January 19, 2012 12:09
Show Gist options
  • Save ricroberts/1639717 to your computer and use it in GitHub Desktop.
Save ricroberts/1639717 to your computer and use it in GitHub Desktop.
Map Manager structure
(function() {
// the constructor.
var MapManager = function(googleMap, initialScoreDomain) {
}
// public API
MapManager.prototype = {
}
// private variables and functions here.
// add the MapManager to the swirrl namespace.
window.swirrl.MapManager = MapManager;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment