UNPKG

raptor

Version:

RaptorJS provides an AMD module loader that works in Node, Rhino and the web browser. It also includes various sub-modules to support building optimized web applications.

24 lines (22 loc) 715 B
define.Class( 'taglibs.widgets.test.ContainerTag', function(require) { return { process: function(input, context) { context.addWidget( 'test.ContainerWidget', input, null, function(widget) { context.renderTemplate( "test/Container", { title: input.title, invokeBody: input.invokeBody, widget: widget }); }); } }; } );