We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 964d002 commit a2b03c2Copy full SHA for a2b03c2
README.md
@@ -25,9 +25,7 @@ Use System Runtime APIs to create your application:
25
let app = runtime.system('app');
26
27
// add code in the start method
28
-app.on('start', function start() {
29
- console.log('Hello world !');
30
-});
+app.on('start', () => console.log('Hello world !'));
31
32
// run the app
33
app.start();
@@ -55,7 +53,7 @@ It will return this JSON:
55
53
"_id": "1ea9c1d5f811ae1",
56
54
"component": "154cd18d0210516",
57
"state": "start",
58
- "action": "function start() {\n console.log('Hello world !');\n}",
+ "action": "() => console.log('Hello world !')",
59
"useCoreAPI": false,
60
"core": false
61
}
0 commit comments