removing VML support from client side

This commit is contained in:
Pablo Luna
2011-03-16 11:40:48 +00:00
parent 1b04d1effc
commit 7acfd763fa
41 changed files with 27 additions and 1914 deletions

View File

@@ -17,22 +17,6 @@
*/
core.UserAgent = {
_isVMLSupported:null,
isVMLSupported: function()
{
if (!core.Utils.isDefined())
{
this._isVMLSupported = navigator.appVersion.match(/MSIE (\d\.\d)/);
if(this._isVMLSupported == null || parseInt(this._isVMLSupported[1])>=9){
this._isVMLSupported = false;
}
}
return this._isVMLSupported;
},
isSVGSupported: function()
{
return !core.UserAgent.isVMLSupported();
},
isMozillaFamily: function()
{
return this.browser == "Netscape" || this.browser == "Firefox";