rjy7 2010-07-22 15:44:34 +00:00
parent 1c62224b6d
commit 4b990e4649

View file

@ -0,0 +1,24 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
var vitro;
// vitro == null: true
// vitro === null: false (only true if undefined)
// typeof vitro == 'undefined': true
if (!vitro) {
vitro = {};
}
vitro.browserUtils = {
isIELessThan8: function() {
var version;
if (navigator.appVersion.indexOf("MSIE") == -1) {
return false;
}
else {
version = parseFloat(navigator.appVersion.split("MSIE")[1]);
return version < 8;
}
}
};