Fix name clash. #592
This commit is contained in:
parent
92768aec19
commit
1a4b7664d8
@ -338,11 +338,12 @@ $.engine = do ->
|
||||
return 'webkit' if /WebKit\//.test navigator.userAgent
|
||||
return 'gecko' if /Gecko\/|Goanna/.test navigator.userAgent # Goanna = Pale Moon 26+
|
||||
|
||||
try
|
||||
localStorage.getItem 'x'
|
||||
$.hasStorage = true
|
||||
catch err
|
||||
$.hasStorage = false
|
||||
do ->
|
||||
try
|
||||
localStorage.getItem 'x'
|
||||
$.hasStorage = true
|
||||
catch err
|
||||
$.hasStorage = false
|
||||
|
||||
$.item = (key, val) ->
|
||||
item = {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user