code: function(node, className) {
          if (className && hasClass(node, className)) {
              node.className = Y.Lang.trim(node.className.replace(Y.DOM._getRegExp('(?:^|\\s+)' +
                              className + '(?:\\s+|$)'), ' '));
  
              if ( hasClass(node, className) ) { // in case of multiple adjacent
                  removeClass(node, className);
              }
          }                 
      }
docs: Removes a class name from a given element.
  @method removeClass
  @for DOM
  @param {HTMLElement} element The DOM element.
  @param {String} className the class name to remove from the class attribute