/*
- * JQuery (http://jquery.com/)
- * By John Resig (http://ejohn.org/)
- * Under an Attribution, Share Alike License
+ * jQuery (jquery.com)
+ *
+ * Copyright (c) 2006 John Resig (ejohn.org)
+ * Licensed under the MIT License:
+ * http://www.opensource.org/licenses/mit-license.php
*
* $Date$
* $Rev$
},
removeClass: function(c) {
return this.each(function(){
- if ( c == null )
- this.className = '';
- else
+ this.className = c == null ? '' :
this.className.replace(
new RegExp('(^|\\s*\\b[^-])'+c+'($|\\b(?=[^-]))', 'g'), '');
});
setTimeout(function(){
if ( typeof Prototype != "undefined" && $.g == null && $.clean == null )
throw "Error: You are overwriting jQuery, please include jQuery last.";
-}, 1000);
\ No newline at end of file
+}, 1000);