1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00
This commit is contained in:
ido 2016-07-21 10:55:39 +03:00
parent 4a403dffbf
commit f086cd63ea

View File

@ -3,6 +3,7 @@ define([
'lodash' 'lodash'
], function (React, _) { ], function (React, _) {
'use strict'; 'use strict';
return function () {
function templateProp11(brother) { function templateProp11(brother) {
return React.createElement('div', {}, 'Brother: ', brother); return React.createElement('div', {}, 'Brother: ', brother);
} }
@ -12,7 +13,6 @@ define([
function templateProp33(other) { function templateProp33(other) {
return React.createElement('div', {}, 'Other: ', other); return React.createElement('div', {}, 'Other: ', other);
} }
return function () {
return React.createElement('div', { return React.createElement('div', {
'templateProp1': templateProp11.bind(this), 'templateProp1': templateProp11.bind(this),
'templateProp2': templateProp22.bind(this), 'templateProp2': templateProp22.bind(this),