We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a146bae commit 9537bacCopy full SHA for 9537bac
src/utils.js
@@ -1,6 +1,6 @@
1
// Utility functions
2
3
-var PREFIXES = 'webkit moz o ms'.split(' ');
+var PREFIXES = 'Webkit Moz O ms'.split(' ');
4
5
// Copy all attributes from source object to destination object.
6
// destination object is mutated.
@@ -47,7 +47,7 @@ function render(template, vars) {
47
48
function setStyle(element, style, value) {
49
for (var i = 0; i < PREFIXES.length; ++i) {
50
- var prefix = capitalize(PREFIXES[i]);
+ var prefix = PREFIXES[i];
51
element.style[prefix + capitalize(style)] = value;
52
}
53
0 commit comments