Skip to content

Commit

Permalink
Updated comment describing interface to setClasses
Browse files Browse the repository at this point in the history
  • Loading branch information
stucox committed Mar 23, 2013
1 parent b56de42 commit cccf477
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/setClasses.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
define(['Modernizr', 'docElement'], function( Modernizr, docElement ) {
// Pass in an element to this function
// if you'd like to change the classe on
// something other than the html element.
// Pass in an and array of class names, e.g.:
// ['no-webp', 'borderradius', ...]
function setClasses( classes ) {
var className = docElement.className;
var removeClasses = [];
Expand Down

0 comments on commit cccf477

Please sign in to comment.