diff options
| -rw-r--r-- | src/Compiler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compiler.js b/src/Compiler.js index 6252e0c4..48638bc3 100644 --- a/src/Compiler.js +++ b/src/Compiler.js @@ -130,7 +130,7 @@ Compiler.prototype = { priority = priority || 0; } if (isString(priority)) { - priority = PRIORITY[uppercase(priority)] || parseInt(priority); + priority = PRIORITY[uppercase(priority)] || parseInt(priority, 10); } template = new Template(priority); eachAttribute(element, function(value, name){ |
