b80c66f5 by Michael Richards

Even though the declarations are trimmed of whitespace in Rivets.View::build, we…

… should still trim them in the tokenizer.
1 parent 0ecd9abc
...@@ -60,7 +60,7 @@ class Rivets.TextTemplateParser ...@@ -60,7 +60,7 @@ class Rivets.TextTemplateParser
60 60
61 break 61 break
62 62
63 value = template.slice(lastIndex, index) 63 value = template.slice(lastIndex, index).trim()
64 tokens.push type: @types.binding, value: value 64 tokens.push type: @types.binding, value: value
65 lastIndex = index + delimiters[1].length 65 lastIndex = index + delimiters[1].length
66 66
......