Skip to content

Commit b541249

Browse files
Enable spell checking
1 parent 144bfd4 commit b541249

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
"The build section is used by nwjs-builder-phoenix, see it's documentation for more info",
66
"Though for development, we point to localhost, the dist version points directly to files on disk. You can change this by:",
77
[
8-
"1. Add a web server dependency",
8+
"1. Add a web server dependency (like express)",
99
"2. Create a server.js file to run a local webserver on port 8965",
1010
"3. Point build.overriddenProperties.node-main to 'node server.js'. This will run before the NW.js window is launched.",
1111
"4. Point the build.overriddenProperties.main to 'http://localhost:8965'",
12-
"5. Point the build.overriddenProperties.node-remote to 'http://localhost:8965'. To allow NW.js and Node.js access from the DOM.",
12+
"5. Point the build.overriddenProperties.node-remote to 'http://localhost:8965'. To allow NW.js API and Node.js access from the DOM.",
1313
"6. Remove 'node-remote' from build.strippedProperties"
14-
]
14+
],
15+
"To turn spell checking off, remove the chromium-args from this file"
1516
],
1617
"name": "nw-angular",
1718
"version": "1.2.0",
@@ -80,6 +81,7 @@
8081
"wait-on": "^3.3.0",
8182
"zone.js": "~0.10.2"
8283
},
84+
"chromium-args": "--enable-spell-checking",
8385
"build": {
8486
"nwVersion": "v0.41.2",
8587
"nwFlavor": "normal",

0 commit comments

Comments
 (0)