Skip to content

Commit

Permalink
Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanseddon committed Mar 13, 2011
1 parent 992c5ff commit 8ca9c34
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions modernizr.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ window.Modernizr = (function(window,document,undefined){

// Inject element with style element and some CSS rules
injectElementWithStyles = function(rule,callback){
var style, ret,
div = document.createElement('div');

Expand Down Expand Up @@ -164,8 +164,7 @@ window.Modernizr = (function(window,document,undefined){
}
return isEventSupported;
})();



// hasOwnProperty shim by kangax needed for Safari 2.0 support
var _hasOwnProperty = ({}).hasOwnProperty, hasOwnProperty;
if (!is(_hasOwnProperty, undefined) && !is(_hasOwnProperty.call, undefined)) {
Expand Down Expand Up @@ -719,7 +718,6 @@ window.Modernizr = (function(window,document,undefined){
// input features and input types go directly onto the ret object, bypassing the tests loop.
// Hold this guy to execute in a moment.
function webforms(){

// Run through HTML5's new input attributes to see if the UA understands any.
// We're using f which is the <input> element created early on
// Mike Taylr has created a comprehensive resource for testing these attributes
Expand Down Expand Up @@ -797,7 +795,6 @@ window.Modernizr = (function(window,document,undefined){
}
return inputs;
})('search tel url email datetime date month week time datetime-local number range color'.split(' '));

}


Expand Down

0 comments on commit 8ca9c34

Please sign in to comment.