Team:EPF-Lausanne/Template/Footer

From 2012.igem.org

(Difference between revisions)
Line 11: Line 11:
if(!str)
if(!str)
return false;
return false;
-
console.log("Match:", str.match(/http:\/\/2012\.igem\.org\/wiki\/index\.php\?title=Team:EPF-Lausanne\/Notebook\/[A-Za-z\-\_0-9]*&action=edit/i));
+
console.log("Match:", str.match(/Team:EPF-Lausanne\/Notebook\/[A-Za-z\-\_0-9]*&action=edit/i));
return str.match(/http:\/\/2012\.igem\.org\/wiki\/index\.php\?title=Team:EPF-Lausanne\/Notebook\/[A-Za-z\-\_0-9]*&action=edit/i) != null;
return str.match(/http:\/\/2012\.igem\.org\/wiki\/index\.php\?title=Team:EPF-Lausanne\/Notebook\/[A-Za-z\-\_0-9]*&action=edit/i) != null;
}
}

Revision as of 23:46, 3 June 2012