rem: has: function(element) { element = $(element); if(!element || !element.className) return false; var regEx; for(var i = 1; i < arguments.length; i++) { if((typeof arguments[i] == 'object') && (arguments[i].constructor == Array)) { for(var j = 0; j < arguments[i].length; j++) { regEx = new RegExp("(^|\\s)" + arguments[i][j] + "(\\s|$)"); if(!regEx.test(element.className)) return false; } } else { regEx = new RegExp("(^|\\s)" + arguments[i] + "(\\s|$)"); if(!regEx.test(element.className)) return false; } } return true; 
add: has: function(element) { element = $(element); if(!element || !element.className) return false; var regEx; for(var i = 1; i < arguments.length; i++) { if((typeof arguments[i] == 'object') && (arguments[i].constructor == Array)) { for(var j = 0; j < arguments[i].length; j++) { regEx = new RegExp("(^|\\s)" + arguments[i][j] + "(\\s|$)"); if(!regEx.test(element.className)) return false; } } else { regEx = new RegExp("(^|\\s)" + arguments[i] + "(\\s|$)"); if(!regEx.test(element.className)) return false; } } return true; 
context:     has: function(element) {      element = $(element);      if(!element || !element.className) return false;      var regEx;      for(var i = 1; i < arguments.length; i++) {        if((typeof arguments[i] == 'object') &&           (arguments[i].constructor == Array)) {          for(var j = 0; j < arguments[i].length; j++) {            regEx = new RegExp("(^|\\s)" + arguments[i][j] + "(\\s|$)");            if(!regEx.test(element.className)) return false;          }        } else {          regEx = new RegExp("(^|\\s)" + arguments[i] + "(\\s|$)");          if(!regEx.test(element.className)) return false;        }      }      return true;    },
meta: 1331	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1331/8a342036a177e27b9f776c900bbae999b6ce8e3c/effects.js/clean/tracks/public/javascripts/effects.js