Template:Team:HokkaidoU Japan/Book/JS
From 2014.igem.org
(Difference between revisions)
(Undo revision 118897 by Shimotuki.liu (talk)) |
(Undo revision 118891 by Shimotuki.liu (talk)) |
||
Line 7: | Line 7: | ||
function A(a,b){return z(m.join(a+";")+(b||""))} | function A(a,b){return z(m.join(a+";")+(b||""))} | ||
function B(a,b){return typeof a===b} | function B(a,b){return typeof a===b} | ||
- | function C(a,b){return !!~(""+a).indexOf(b)} | + | function C(a,b){return!!~(""+a).indexOf(b)} |
function D(a,b){for(var d in a){var e=a[d];if(!C(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return !1} | function D(a,b){for(var d in a){var e=a[d];if(!C(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return !1} | ||
function E(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:B(f,"function")?f.bind(d||b):f}return !1} | function E(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:B(f,"function")?f.bind(d||b):f}return !1} |
Revision as of 16:38, 15 September 2014