Comparing version 0.4.1 to 0.4.2
@@ -19,4 +19,4 @@ /** | ||
* @param {Object} [options] | ||
* @param {Object} [options.component] The root application component | ||
* @param {String} [options.pathPrefix] The path used for application calls | ||
* @param {Object} [options.component] Stores your top level React component for access using `getComponent()` | ||
* @param {Function} [options.componentActionHandler] App level component action handler | ||
* @constructor | ||
@@ -26,6 +26,3 @@ * | ||
* var app = new Fluxible({ | ||
* component: require('./components/App.jsx'), | ||
* plugins: [ | ||
* require('./plugins/Foo') | ||
* ] | ||
* component: require('./components/App.jsx') | ||
* }); | ||
@@ -42,10 +39,2 @@ */ | ||
if ('production' !== process.env.NODE_ENV) { | ||
if (!this._component.hasOwnProperty('prototype')) { | ||
console.warn('It is no longer necessary to wrap your component with ' + | ||
'`React.createFactory` when instantiating Fluxible. Support for factories' + | ||
'will be removed in the next version of Fluxible.'); | ||
} | ||
} | ||
// Initialize dependencies | ||
@@ -52,0 +41,0 @@ this._dispatcher = dispatchr.createDispatcher(options); |
@@ -62,2 +62,8 @@ /** | ||
// TODO: remove factory support | ||
if ('production' !== process.env.NODE_ENV) { | ||
console.warn('When using context.createFactory(), it is no longer ' + | ||
'necessary to wrap your component with `React.createFactory` when ' + | ||
'instantiating Fluxible. Support for factories will be removed ' + | ||
'in the next version of Fluxible.'); | ||
} | ||
componentInstance = Component(props); | ||
@@ -64,0 +70,0 @@ } else { |
{ | ||
"name": "fluxible", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "A pluggable container for isomorphic flux applications", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79489
39
983