Skip to content

Commit

Permalink
Commenting out the SVG check for now because it is too inconclusive
Browse files Browse the repository at this point in the history
  • Loading branch information
KuraFire committed Jan 27, 2010
1 parent 718bc69 commit ad3160e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions modernizr.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ window.Modernizr = (function(window,doc,undefined){
// inputtypes is an object of its own containing individual tests for
// various new input types, such as search, range, datetime, etc.


svg = 'svg',
// SVG checking is not added just yet
// svg = 'svg',
background = 'background',
backgroundColor = background + 'Color',
canPlayType = 'canPlayType',
Expand Down Expand Up @@ -283,9 +283,9 @@ window.Modernizr = (function(window,doc,undefined){
&& isEventSupported('drop');
};

tests[svg] = function(){
return !!(window.SVGAngle || doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1"));
};
// tests[svg] = function(){
// return !!(window.SVGAngle || doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1"));
// };

tests[websocket] = function(){
return ('WebSocket' in window);
Expand Down

0 comments on commit ad3160e

Please sign in to comment.