Skip to content

Commit

Permalink
Move csstransitions test to feature-detects/css-transitions.js
Browse files Browse the repository at this point in the history
  • Loading branch information
seutje committed Sep 21, 2012
1 parent e848278 commit b94cf67
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-transitions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

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


tests['csstransitions'] = function() {
return testPropsAll('transition');
};


/*>>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 b94cf67

Please sign in to comment.