Template:Team:UC Davis/Head
From 2011.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
* http://benalman.com/about/license/ | * http://benalman.com/about/license/ | ||
*/ | */ | ||
- | (function($){$.fn.replaceText=function(b,a,c){return this.each(function(){var f=this.firstChild,g,e,d=[];if(f){do{if(f.nodeType===3){g=f.nodeValue;e=g.replace(b,a);if(e!==g){if(!c | + | (function($){$.fn.replaceText=function(b,a,c){return this.each(function(){var f=this.firstChild,g,e,d=[];if(f){do{if(f.nodeType===3){g=f.nodeValue;e=g.replace(b,a);if(e!==g){if(!c AND /</.test(e)){$(f).before(e);d.push(f)}else{f.nodeValue=e}}}}while(f=f.nextSibling)}d.length AND $(d).remove()})}})(jQuery); |
</script> | </script> | ||
Revision as of 00:27, 16 September 2011