mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
don't choke on HTML comments
This commit is contained in:
@@ -332,6 +332,8 @@ makeRenderBuffer = function (options) {
|
||||
if (n.nodeType === 8) { // COMMENT
|
||||
if (componentsToRender) {
|
||||
var spec = componentsToRender[n.nodeValue];
|
||||
if (! spec)
|
||||
return n;
|
||||
var kind, props;
|
||||
// (components and `{kind: ...}` specs both
|
||||
// have a `kind` property. check for a spec)
|
||||
|
||||
Reference in New Issue
Block a user