Skip to content

Commit ec989ae

Browse files
committed
- update core system
1 parent 6c1746d commit ec989ae

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,10 @@ Just call *install* API to install and start your app:
7979
// require System Runtime
8080
var runtime = require('system-runtime');
8181

82-
// install and start your app
83-
runtime.install('app.json');
82+
// install
83+
var appId = runtime.install('app.json');
84+
// start
85+
runtime.start(appId);
8486
```
8587

8688
#### Component APIs

build/system/system.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ var system = {
825825
"name": "autoStart",
826826
"type": "boolean",
827827
"mandatory": false,
828-
"default": true
828+
"default": false
829829
}, {
830830
"name": "async",
831831
"type": "boolean",

build/sytem-runtime.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@
943943
"name": "autoStart",
944944
"type": "boolean",
945945
"mandatory": false,
946-
"default": true
946+
"default": false
947947
},
948948
{
949949
"name": "async",

dist/system-runtime.js

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

dist/system-runtime.min.js

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/system/system-runtime.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)