|
|
|
@ -69,16 +69,16 @@
|
|
|
|
|
supportsTransitions = (function () { |
|
|
|
|
var b = document.body || document.documentElement; |
|
|
|
|
var s = b.style; |
|
|
|
|
var p = 'transition'; |
|
|
|
|
if (typeof s[p] === 'string') { |
|
|
|
|
var p = "transition"; |
|
|
|
|
if (typeof s[p] === "string") { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
// Tests for vendor specific prop
|
|
|
|
|
v = ['Moz', 'Webkit', 'Khtml', 'O', 'ms']; |
|
|
|
|
v = ["Moz", "Webkit", "Khtml", "O", "ms"]; |
|
|
|
|
p = p.charAt(0).toUpperCase() + p.substr(1); |
|
|
|
|
var i; |
|
|
|
|
for (i = 0; i < v.length; i++) { |
|
|
|
|
if (typeof s[v[i] + p] === 'string') { |
|
|
|
|
if (typeof s[v[i] + p] === "string") { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|