Merge pull request from edtrist/FixConsoleWarn

Fix console.warning bug that prevents page from loading
This commit is contained in:
Nick Winter 2014-04-15 19:43:49 -07:00
commit 9f5eae8898

View file

@ -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) ->