Team:UCLondon/Templates/Content-Slide
From 2012e.igem.org
(Difference between revisions)
Line 287: | Line 287: | ||
var pfx = ["webkit", "moz", "ms", "o", ""]; | var pfx = ["webkit", "moz", "ms", "o", ""]; | ||
function RunPrefixMethod(obj, method) { | function RunPrefixMethod(obj, method) { | ||
- | var p = 0 | + | var p = 0; |
+ | var m = 0; | ||
+ | var t = 0; | ||
while (p < pfx.length && !obj[m]) { | while (p < pfx.length && !obj[m]) { | ||
m = method; | m = method; |
Revision as of 23:36, 18 October 2012