Skip to content

Commit 67250b9

Browse files
committed
update node code to v7.6
1 parent 86e58ce commit 67250b9

File tree

49 files changed

+52
-185
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+52
-185
lines changed

samples/node/web/db/hello-sequelize/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Start",
66
"type": "node",
77
"request": "launch",
8-
"program": "${workspaceRoot}/start.js",
8+
"program": "${workspaceRoot}/app.js",
99
"stopOnEntry": false,
1010
"args": [],
1111
"cwd": "${workspaceRoot}",

samples/node/web/db/hello-sequelize/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "hello-sequelize",
33
"version": "1.0.0",
44
"description": "Hello Sequelize example with async",
5-
"main": "start.js",
5+
"main": "app.js",
66
"scripts": {
7-
"start": "node --use_strict start.js"
7+
"start": "node --use_strict app.js"
88
},
99
"keywords": [
1010
"sequelize",
@@ -17,10 +17,6 @@
1717
"url": "https://github.com/michaelliao/learn-javascript.git"
1818
},
1919
"dependencies": {
20-
"babel-core": "6.13.2",
21-
"babel-polyfill": "6.13.0",
22-
"babel-preset-es2015-node6": "0.3.0",
23-
"babel-preset-stage-3": "6.5.0",
2420
"sequelize": "3.24.1",
2521
"mysql": "2.11.1"
2622
}

samples/node/web/db/hello-sequelize/start.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

samples/node/web/db/model-sequelize/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Start",
66
"type": "node",
77
"request": "launch",
8-
"program": "${workspaceRoot}/start.js",
8+
"program": "${workspaceRoot}/app.js",
99
"stopOnEntry": false,
1010
"args": [],
1111
"cwd": "${workspaceRoot}",

samples/node/web/db/model-sequelize/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "model-sequelize",
33
"version": "1.0.0",
44
"description": "Sequelize best practice example with async",
5-
"main": "start.js",
5+
"main": "app.js",
66
"scripts": {
7-
"start": "node --use_strict start.js"
7+
"start": "node --use_strict app.js"
88
},
99
"keywords": [
1010
"sequelize",
@@ -17,10 +17,6 @@
1717
"url": "https://github.com/michaelliao/learn-javascript.git"
1818
},
1919
"dependencies": {
20-
"babel-core": "6.13.2",
21-
"babel-polyfill": "6.13.0",
22-
"babel-preset-es2015-node6": "0.3.0",
23-
"babel-preset-stage-3": "6.5.0",
2420
"sequelize": "3.24.1",
2521
"mysql": "2.11.1"
2622
}

samples/node/web/db/model-sequelize/start.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

samples/node/web/koa/hello-koa/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Start",
66
"type": "node",
77
"request": "launch",
8-
"program": "${workspaceRoot}/start.js",
8+
"program": "${workspaceRoot}/app.js",
99
"stopOnEntry": false,
1010
"args": [],
1111
"cwd": "${workspaceRoot}",

samples/node/web/koa/hello-koa/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
"url": "https://github.com/michaelliao/learn-javascript.git"
1818
},
1919
"dependencies": {
20-
"babel-core": "6.13.2",
21-
"babel-polyfill": "6.13.0",
22-
"babel-preset-es2015-node6": "0.3.0",
23-
"babel-preset-stage-3": "6.5.0",
2420
"koa": "2.0.0"
2521
}
2622
}

samples/node/web/koa/hello-koa/start.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

samples/node/web/koa/url-koa/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Start",
66
"type": "node",
77
"request": "launch",
8-
"program": "${workspaceRoot}/start.js",
8+
"program": "${workspaceRoot}/app.js",
99
"stopOnEntry": false,
1010
"args": [],
1111
"cwd": "${workspaceRoot}",

0 commit comments

Comments
 (0)