mirror of
https://github.com/bobwen-dev/react-templates
synced 2025-04-12 00:56:39 +02:00
fix test
This commit is contained in:
parent
4a403dffbf
commit
f086cd63ea
@ -3,16 +3,16 @@ define([
|
|||||||
'lodash'
|
'lodash'
|
||||||
], function (React, _) {
|
], function (React, _) {
|
||||||
'use strict';
|
'use strict';
|
||||||
function templateProp11(brother) {
|
|
||||||
return React.createElement('div', {}, 'Brother: ', brother);
|
|
||||||
}
|
|
||||||
function templateProp22(sister) {
|
|
||||||
return React.createElement('div', {}, 'Sister: ', sister);
|
|
||||||
}
|
|
||||||
function templateProp33(other) {
|
|
||||||
return React.createElement('div', {}, 'Other: ', other);
|
|
||||||
}
|
|
||||||
return function () {
|
return function () {
|
||||||
|
function templateProp11(brother) {
|
||||||
|
return React.createElement('div', {}, 'Brother: ', brother);
|
||||||
|
}
|
||||||
|
function templateProp22(sister) {
|
||||||
|
return React.createElement('div', {}, 'Sister: ', sister);
|
||||||
|
}
|
||||||
|
function templateProp33(other) {
|
||||||
|
return React.createElement('div', {}, 'Other: ', other);
|
||||||
|
}
|
||||||
return React.createElement('div', {
|
return React.createElement('div', {
|
||||||
'templateProp1': templateProp11.bind(this),
|
'templateProp1': templateProp11.bind(this),
|
||||||
'templateProp2': templateProp22.bind(this),
|
'templateProp2': templateProp22.bind(this),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user