Skip to content

Commit a5005e7

Browse files
committed
release beta.3
1 parent 6f3d18a commit a5005e7

File tree

8 files changed

+127
-10105
lines changed

8 files changed

+127
-10105
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
test/runner/spec.pack.js
12
*node_modules*
23
bower_components
34
*sublime*

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "regular-state",
3-
"version": "0.6.0-beta.2",
3+
"version": "0.6.0-beta.3",
44
"description": "an SPA(single page application) foundation for regularjs that powerd by stateman",
55
"keywords": [
66
"stateman",
@@ -23,13 +23,12 @@
2323
},
2424
"homepage": "https://github.com/regularjs/regular-state",
2525
"dependencies": {
26-
"stateman": "^0.3.0-beta.1"
26+
"stateman": "^0.3.0-beta.2"
2727
},
2828
"peerDependencies": {
2929
"regularjs": "*"
3030
},
3131
"devDependencies": {
32-
"browserify-istanbul": "^0.2.1",
3332
"es6-promise": "^3.1.2",
3433
"expect.js": "^0.3.1",
3534
"gulp": "^3.8.10",
@@ -40,6 +39,7 @@
4039
"gulp-util": "~2.2.14",
4140
"gulp-webpack": "^0.3.0",
4241
"karma": "^0.12.31",
42+
"browserify-istanbul": "^0.2.1",
4343
"karma-browserify": "^4.4.2",
4444
"karma-commonjs": "0.0.13",
4545
"karma-commonjs-alias": "^0.2.2",

restate.pack.js

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

restate.pack.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/client.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ so.state = function(name, config){
8282
var self = this;
8383
var ssr = option.ssr = isEnter && option.firstTime && manager.ssr && this.ssr !== false;
8484

85+
if(component && component.$phase === 'destroyed' ){
86+
component = null;
87+
}
88+
8589
var installOption = {
8690
ssr: ssr,
8791
state: this,

0 commit comments

Comments
 (0)