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.

15 lines (14 loc) 431 B
define( 'components/renderer/Component1/Component1Renderer', function(require) { return { render: function(input, context) { require('raptor/templating').render('components/renderer/Component1', { id: input.id, widgetConfig: { id: input.id } }, context); } } });