b6deb70c by Michael Richards

Don't reference Node for the type number (for IE incompatabilities).

1 parent e98e03ef
...@@ -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
......