Template:Team:UC Davis/Head
From 2011.igem.org
(Difference between revisions)
Line 30: | Line 30: | ||
* 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&&/</.test(e)){$(f).before(e);d.push(f)}else{f.nodeValue=e}}}}while(f=f.nextSibling)}d.length&&$(d).remove()})}})(jQuery); | |
Revision as of 00:19, 16 September 2011