diff --git a/js/Renderer.js b/js/Renderer.js index 085461120..e9196c761 100644 --- a/js/Renderer.js +++ b/js/Renderer.js @@ -153,6 +153,10 @@ MacroNode.prototype.parseMacroParamString = function(paramString) { return params; }; +MacroNode.prototype.hasParameter = function(name) { + return this.params.hasOwnProperty(name); +}; + MacroNode.prototype.clone = function() { return new MacroNode(this.macroName,this.srcParams,this.cloneChildren(),this.store,this.dependencies); }; @@ -348,6 +352,7 @@ ElementNode.prototype.renderInDom = function(domNode) { } } domNode.appendChild(element); + this.domNode = element; if(this.children) { for(var t=0; t