Add Edge to detected engines.

This commit is contained in:
ccd0 2015-08-02 00:57:48 -07:00
parent b20f669d77
commit 66e2a304cc

View File

@ -303,6 +303,7 @@ $.hasAudio = (video) ->
video.mozHasAudio or !!video.webkitAudioDecodedByteCount
$.engine = do ->
return 'edge' if /Edge\//.test navigator.userAgent
return 'blink' if /Chrome\//.test navigator.userAgent
return 'webkit' if /WebKit\//.test navigator.userAgent
return 'gecko' if /Gecko\/|Goanna/.test navigator.userAgent # Goanna = Pale Moon 26+