code: function(className) {
          if (className === undefined) this.each(function(el) { el.className = ''; });
          else {
            var cs = className.split(' ');
            this.each(function(el) {
              cs.forEach(function(clazz) {
                el.className = trim(el.className.replace(getClassRegEx(clazz), '$1'));
              });
            });
          }
          return this;
      }
docs: removeClass
  -----------
  
  Removes the specified class from all elements in the collection. If no class is specified, removes all classes from the collection.
  
  ### syntax ###
  
  x$( selector ).removeClass( className );
  
  ### arguments ###
  
  - className `String` is the name of the CSS class to remove. If not specified, then removes all classes from the matched elements. _(optional)_
  
  ### example ###
  
  x$('.foo').removeClass('awesome');