Fix console.warning bug that prevents page from loading

This commit is contained in:
edtrist 2014-04-16 00:03:43 +01:00
parent f762d95ab8
commit 5aa1afbf7a

View file

@ -5,7 +5,7 @@ module.exports.load = (key) ->
value = JSON.parse(s)
return value
catch SyntaxError
console.warning('error loading from storage', key)
console.warn('error loading from storage', key)
return null
module.exports.save = (key, value) ->