mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-04 01:43:40 -04:00
Merge pull request #855 from edtrist/FixConsoleWarn
Fix console.warning bug that prevents page from loading
This commit is contained in:
commit
9f5eae8898
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ module.exports.load = (key) ->
|
||||||
value = JSON.parse(s)
|
value = JSON.parse(s)
|
||||||
return value
|
return value
|
||||||
catch SyntaxError
|
catch SyntaxError
|
||||||
console.warning('error loading from storage', key)
|
console.warn('error loading from storage', key)
|
||||||
return null
|
return null
|
||||||
|
|
||||||
module.exports.save = (key, value) ->
|
module.exports.save = (key, value) ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue