1
0
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:
ivaosthu 2014-11-02 21:03:39 +01:00 committed by Ivar Conradi Østhus
parent b8f4f04c5b
commit 07523973cb

View File

@ -1,8 +1,8 @@
var React = require('react');
var TabView = require('./components/TabView');
var Menu = require('./components/Menu');
var Unleash = require('./components/Unleash');
var Strategy = require('./components/strategy/StrategyComponent');
var TabView = React.createFactory(require('./components/TabView'));
var Menu = React.createFactory(require('./components/Menu'));
var Unleash = React.createFactory(require('./components/Unleash'));
var Strategy = React.createFactory(require('./components/strategy/StrategyComponent'));
var tabPanes = [
{
@ -13,8 +13,6 @@ var tabPanes = [
name: "Strategies",
content: new Strategy({})
}
];
React.render(