Skip to content

Commit

Permalink
add --use_strict to run node
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelliao committed Sep 23, 2016
1 parent eac7dbe commit dd74361
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion samples/node/web/db/hello-sequelize/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "development"
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/db/hello-sequelize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Hello Sequelize example with async",
"main": "start.js",
"scripts": {
"start": "node start.js"
"start": "node --use_strict start.js"
},
"keywords": [
"sequelize",
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/db/model-sequelize/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "development"
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/db/model-sequelize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Sequelize best practice example with async",
"main": "start.js",
"scripts": {
"start": "node start.js"
"start": "node --use_strict start.js"
},
"keywords": [
"sequelize",
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/koa/hello-koa/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "development"
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/koa/hello-koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Hello Koa 2 example with async",
"main": "start.js",
"scripts": {
"start": "node start.js"
"start": "node --use_strict start.js"
},
"keywords": [
"koa",
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/koa/url-koa/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "development"
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/koa/url-koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "koa2 example with url route",
"main": "start.js",
"scripts": {
"start": "node start.js"
"start": "node --use_strict start.js"
},
"keywords": [
"koa",
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/koa/url2-koa/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "development"
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/koa/url2-koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "koa 2 example with url route",
"main": "start.js",
"scripts": {
"start": "node start.js"
"start": "node --use_strict start.js"
},
"keywords": [
"koa",
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/koa/use-nunjucks/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "development"
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/koa/view-koa/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "development"
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/koa/view-koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "koa 2 example with nunjucks as view",
"main": "start.js",
"scripts": {
"start": "node start.js"
"start": "node --use_strict start.js"
},
"keywords": [
"koa",
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/rest/rest-hello/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "development"
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/rest/rest-hello/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "koa 2 example with rest api",
"main": "start.js",
"scripts": {
"start": "node start.js"
"start": "node --use_strict start.js"
},
"keywords": [
"koa",
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/rest/rest-koa/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "development"
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/rest/rest-koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "koa 2 example with rest api",
"main": "start.js",
"scripts": {
"start": "node start.js"
"start": "node --use_strict start.js"
},
"keywords": [
"koa",
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/test/async-test/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "test"
Expand Down
4 changes: 2 additions & 2 deletions samples/node/web/test/hello-test/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "development"
Expand All @@ -32,7 +32,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "test"
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/ws/hello-ws/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "development"
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/ws/ws-with-koa/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
"--nolazy", "--use_strict"
],
"env": {
"NODE_ENV": "development"
Expand Down
2 changes: 1 addition & 1 deletion samples/node/web/ws/ws-with-koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "websocket with koa integration",
"main": "start.js",
"scripts": {
"start": "node start.js"
"start": "node --use_strict start.js"
},
"keywords": [
"websocket",
Expand Down

0 comments on commit dd74361

Please sign in to comment.