diff --git a/code/map_data_calc_tools.js b/code/map_data_calc_tools.js index 884acc40..a2c3369c 100644 --- a/code/map_data_calc_tools.js +++ b/code/map_data_calc_tools.js @@ -6,7 +6,7 @@ // tile and a quadkey. Both the bounds and the quadkey are “somewhat” // required to get complete data. // -// Convertion functions courtesy of +// Conversion functions courtesy of // http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames diff --git a/code/map_data_render.js b/code/map_data_render.js index 6606a022..53ce23a4 100644 --- a/code/map_data_render.js +++ b/code/map_data_render.js @@ -470,7 +470,7 @@ window.Render.prototype.addPortalToMapLayer = function(portal) { this.portalClusters[cid].push(portal.options.guid); - // now, at this point, we could match the above re-clustr code - sorting, and adding/removing as necessary + // now, at this point, we could match the above re-cluster code - sorting, and adding/removing as necessary // however, it won't make a lot of visible difference compared to just pushing to the end of the list, then // adding to the visible layer if the list is below the limit if (this.portalClusters[cid].length < this.CLUSTER_PORTAL_LIMIT || portal.options.guid == selectedPortal || artifact.isInterestingPortal(portal.options.guid)) { diff --git a/code/portal_detail.js b/code/portal_detail.js index e99d5b7a..0f5557ab 100644 --- a/code/portal_detail.js +++ b/code/portal_detail.js @@ -1,5 +1,5 @@ /// PORTAL DETAIL ////////////////////////////////////// -// code to retrieve the new potal detail data from the servers +// code to retrieve the new portal detail data from the servers // NOTE: the API for portal detailed information is NOT FINAL // this is a temporary measure to get things working again after a major change to the intel map @@ -54,6 +54,6 @@ window.portalDetail.request = function(guid) { -})(); // anonumous wrapper function end +})(); // anonymous wrapper function end diff --git a/plugins/guess-player-levels.user.js b/plugins/guess-player-levels.user.js index b51de2cd..1fa5f44e 100644 --- a/plugins/guess-player-levels.user.js +++ b/plugins/guess-player-levels.user.js @@ -317,7 +317,7 @@ window.plugin.guessPlayerLevels.sort = function(playerHash) { var setup = function() { - // we used to sture level guesses as one localStorage key per player, named 'level-PLAYER_GUID' + // we used to store level guesses as one localStorage key per player, named 'level-PLAYER_GUID' // they're now stored in a single storage key - 'plugin-guess-player-levels' - so clear these old entries $.each(Object.keys(localStorage), function(ind,key) {// legacy code - should be removed in the future if(key.lastIndexOf('level-',0)===0) { diff --git a/plugins/keys.user.js b/plugins/keys.user.js index 7ba1697b..26921db1 100644 --- a/plugins/keys.user.js +++ b/plugins/keys.user.js @@ -155,7 +155,7 @@ window.plugin.keys.loadLocal = function(mapping) { : JSON.parse(objectJSON); } -// For backward compitable, will change to use loadLocal after a few version +// For backward compatibility, will change to use loadLocal after a few version window.plugin.keys.loadKeys = function() { var keysObjectJSON = localStorage[plugin.keys.KEY.key]; if(!keysObjectJSON) return;