Warning, /frameworks/ktexttemplate/autotests/testtags.qs is written in an unsupported language. File is not indexed.

0001 
0002 
0003 var EchoNode = function(content)
0004 {
0005   this.content = content;
0006   this.render = function(context)
0007   {
0008     return content.join(" ");
0009   };
0010 };
0011 
0012 function EchoNodeFactory(tagContent, parser, parent)
0013 {
0014   var content = tagContent.split(" ");
0015   content = content.slice(1, content.length);
0016   return new Node("EchoNode", content);
0017 };
0018 Library.addFactory("EchoNodeFactory", "echo");
0019