Fix name clash. #592
This commit is contained in:
parent
92768aec19
commit
1a4b7664d8
@ -338,10 +338,11 @@ $.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 ->
|
||||||
|
try
|
||||||
localStorage.getItem 'x'
|
localStorage.getItem 'x'
|
||||||
$.hasStorage = true
|
$.hasStorage = true
|
||||||
catch err
|
catch err
|
||||||
$.hasStorage = false
|
$.hasStorage = false
|
||||||
|
|
||||||
$.item = (key, val) ->
|
$.item = (key, val) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user