Skip to content

Commit

Permalink
Move csstransforms to feature-detects/css-transforms.js
Browse files Browse the repository at this point in the history
  • Loading branch information
seutje committed Sep 21, 2012
1 parent 7348214 commit 7f36ef6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions feature-detects/css-transforms.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

Modernizr.addTest('csstransforms', function() {
return !!Modernizr.testAllProps('transform');
});
5 changes: 0 additions & 5 deletions modernizr.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,11 +524,6 @@ window.Modernizr = (function( window, document, undefined ) {
};


tests['csstransforms'] = function() {
return !!testPropsAll('transform');
};


/*>>webforms*/
// input features and input types go directly onto the ret object, bypassing the tests loop.
// Hold this guy to execute in a moment.
Expand Down

0 comments on commit 7f36ef6

Please sign in to comment.