function removeClass(el, name) {
        if (hasClass(el, name)) {
          var c = el.className;
          el.className = c.replace(new RegExp("(?:^|\\s+)" + name + "(?:\\s+|$)", "g"), " ").replace(/^\s\s*/, '').replace(/\s\s*$/, '');
        }
    }
function removeClass(el, name) {
        if (hasClass(el, name)) {
          var c = el.className;
          el.className = c.replace(new RegExp("(?:^|\\s+)" + name + "(?:\\s+|$)", "g"), " ").replace(/^\s\s*/, '').replace(/\s\s*$/, '');
        }
    }
function removeClass ( el , name ) { if ( hasClass ( el , name ) ) { var c = el . className ; el . className = c . replace ( new RegExp ( "(?:^|\\s+)" + name + "(?:\\s+|$)" , "g" ) , " " ) . replace ( / ^\s\s* / , '' ) . replace ( / \s\s*$ / , '' ) ; } }
removeClass: remove the css class from the element.
removeClass : remove the css class from the element .