rem: var convert = function(prop) { var test = /(-[a-z])/i.exec(prop); return prop.replace(RegExp.$1, RegExp.$1.substr(1).toUpperCase()); }; 
add: if ( !patterns.HYPHEN.test(property) ) { return property; } 
context:    var toCamel = function(property) {      var convert = function(prop) {         var test = /(-[a-z])/i.exec(prop);         return prop.replace(RegExp.$1, RegExp.$1.substr(1).toUpperCase());      };      while(property.indexOf('-') > -1) {         property = convert(property);      }      return property;      //return property.replace(/-([a-z])/gi, function(m0, m1) {return m1.toUpperCase()}) // cant use function as 2nd arg yet due to safari bug   };
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dom-debug.js/buggy/www/resources/yui/dom/dom-debug.js