Created
April 22, 2012 21:24
-
-
Save raytiley/2467018 to your computer and use it in GitHub Desktop.
Design Phase 4 - GeoCoding Module
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
//Anything not exported would be private and not accessible from the loaded module. | |
var privateVariable = 'I would be hidden'; | |
//Public Method | |
//Async geocodes array of search strings and calls callback with array of response when finished | |
exports.geocode = function(searchArray, callback(responseArray)) { | |
// Asynchronously geocode search array then execute callback | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment