mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
using createFactory introduced in react 0.12.x
This commit is contained in:
parent
b8f4f04c5b
commit
07523973cb
@ -1,8 +1,8 @@
|
|||||||
var React = require('react');
|
var React = require('react');
|
||||||
var TabView = require('./components/TabView');
|
var TabView = React.createFactory(require('./components/TabView'));
|
||||||
var Menu = require('./components/Menu');
|
var Menu = React.createFactory(require('./components/Menu'));
|
||||||
var Unleash = require('./components/Unleash');
|
var Unleash = React.createFactory(require('./components/Unleash'));
|
||||||
var Strategy = require('./components/strategy/StrategyComponent');
|
var Strategy = React.createFactory(require('./components/strategy/StrategyComponent'));
|
||||||
|
|
||||||
var tabPanes = [
|
var tabPanes = [
|
||||||
{
|
{
|
||||||
@ -13,8 +13,6 @@ var tabPanes = [
|
|||||||
name: "Strategies",
|
name: "Strategies",
|
||||||
content: new Strategy({})
|
content: new Strategy({})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
React.render(
|
React.render(
|
||||||
|
Loading…
Reference in New Issue
Block a user