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 'webkit' if /WebKit\//.test navigator.userAgent
|
||||||
return 'gecko' if /Gecko\/|Goanna/.test navigator.userAgent # Goanna = Pale Moon 26+
|
return 'gecko' if /Gecko\/|Goanna/.test navigator.userAgent # Goanna = Pale Moon 26+
|
||||||
|
|
||||||
try
|
do ->
|
||||||
localStorage.getItem 'x'
|
try
|
||||||
$.hasStorage = true
|
localStorage.getItem 'x'
|
||||||
catch err
|
$.hasStorage = true
|
||||||
$.hasStorage = false
|
catch err
|
||||||
|
$.hasStorage = false
|
||||||
|
|
||||||
$.item = (key, val) ->
|
$.item = (key, val) ->
|
||||||
item = {}
|
item = {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user