Spell check and found a bunch of new comments with typos.
This commit is contained in:
@ -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) {
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user