Don't reference Node for the type number (for IE incompatabilities).
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -48,7 +48,7 @@ class Rivets.View | ... | @@ -48,7 +48,7 @@ class Rivets.View |
48 | 48 | ||
49 | parse = (node) => | 49 | parse = (node) => |
50 | unless node in skipNodes | 50 | unless node in skipNodes |
51 | if node.nodeType is Node.TEXT_NODE | 51 | if node.nodeType is 3 |
52 | parser = Rivets.TextTemplateParser | 52 | parser = Rivets.TextTemplateParser |
53 | 53 | ||
54 | if delimiters = @config.templateDelimiters | 54 | if delimiters = @config.templateDelimiters | ... | ... |
-
Please register or sign in to post a comment