Comparing version 0.17.5 to 0.17.6
@@ -53,5 +53,2 @@ import './../node_modules/todomvc-common/base.css'; | ||
// RENDER | ||
React.render(<Container controller={controller} app={App}/>, document.querySelector('#app')); | ||
// ROUTER | ||
@@ -61,4 +58,9 @@ CerebralRouter(controller, { | ||
'/:filter': 'routeChanged' | ||
}); | ||
}).start(); | ||
// RENDER | ||
React.render(<Container controller={controller} app={App}/>, document.querySelector('#app')); | ||
/* | ||
@@ -65,0 +67,0 @@ const router = ReactiveRouter({ |
{ | ||
"name": "cerebral", | ||
"version": "0.17.5", | ||
"version": "0.17.6", | ||
"description": "A state controller with its own debugger", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -80,3 +80,3 @@ var utils = require('./utils.js'); | ||
while(asyncActionResults.length) { | ||
while(asyncActionResults.length && asyncActionArray.length) { | ||
var result = asyncActionResults.shift(); | ||
@@ -83,0 +83,0 @@ asyncActionArray.shift(); // Keep in sync, to extract exits |
@@ -116,3 +116,2 @@ /* | ||
// Go through signals | ||
try { | ||
@@ -139,7 +138,4 @@ | ||
isRemembering = false; | ||
} catch (e) { | ||
console.warn('CEREBRAL - There was an error remembering state, it has been reset'); | ||
isRemembering = false; | ||
this.reset(); | ||
@@ -152,2 +148,3 @@ | ||
controller.emit('change'); | ||
isRemembering = false; | ||
@@ -154,0 +151,0 @@ }, |
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
3527706
36696