react-templates/test/data/propTemplates/twoTemplates.rt.js

15 lines
514 B
JavaScript
Raw Normal View History

define([
'react/addons',
'lodash'
], function (React, _) {
'use strict';
function templateProp21(arg1, inner1, inner2) {
return React.createElement('div', {}, arg1 + inner1 + inner2);
}
function templateProp2(arg1) {
return React.createElement('div', { 'templateProp2': templateProp21.bind(this, arg1) }, React.createElement('div', {}, arg1));
}
return function () {
return React.createElement('div', { 'templateProp': templateProp2.bind(this) });
};
});