diff options
Diffstat (limited to 'source/utils.js')
-rw-r--r-- | source/utils.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/utils.js b/source/utils.js index 842e328..58ee0b1 100644 --- a/source/utils.js +++ b/source/utils.js @@ -43,6 +43,10 @@ JSNES.Utils = { state[obj.JSON_PROPERTIES[i]] = obj[obj.JSON_PROPERTIES[i]]; } return state; + }, + + isIE: function() { + return (/msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent)); } }; |