Merge pull request #654 from nexushoratio/to-push

Spell checking, a-c.
This commit is contained in:
Jon Atkins
2013-11-22 21:25:32 -08:00
11 changed files with 12 additions and 12 deletions

View File

@ -6,7 +6,7 @@
// 1. Go to the www.cloudmade.com website and register an account
// 2. Get an API Key
// 3. Edit the clode below, replace YOUR_API_KEY with the API key from CloudMade.com
// 3. Edit the code below, replace YOUR_API_KEY with the API key from CloudMade.com
// 4. Reload the page
// optional: browse their map styles, add/modify any you like to the cmStyles list

View File

@ -17,7 +17,7 @@
//NOTE: plugin authors - due to the unique requirements of this plugin, it doesn't use the standard IITC
//plugin architechure. do NOT use it as a template for other plugins
//plugin architecture. do NOT use it as a template for other plugins
if(window.location.protocol !== 'https:') {

View File

@ -42,7 +42,7 @@ window.plugin.showMorePortals.setup = function() {
}
// and, the same scale for L2+ and L3+ portals. again, forcing the level down isn't unfriendly to the servers
// (ditto on the cacheing)
// (ditto on the caching)
if (mapZoom >= 12) {
return 13;
}

View File

@ -30,7 +30,7 @@ window.plugin.updateCheck.getUrl = function(callback) {
var url = 'http://iitc.jonatkins.com/versioncheck.php'
+ '?build=@@BUILDNAME@@'
+ '&mobile='+((typeof android !== 'undefined' && android)?'1':'0')
+ '&ts='+Date.now(); // append timestamp - ensures no cacheing of old data, even on mobile with the aggressive cache code
+ '&ts='+Date.now(); // append timestamp - ensures no caching of old data, even on mobile with the aggressive cache code
if (callback) {
url = url + '&callback='+callback