diff --git a/Doc/Manual/Javascript.html b/Doc/Manual/Javascript.html index 6aabdc754..4a0cd46a8 100644 --- a/Doc/Manual/Javascript.html +++ b/Doc/Manual/Javascript.html @@ -195,7 +195,7 @@ $ sudo npm install -g node-gyp

First create the wrapper using SWIG:

-$ swig -javascript -node -c++ example.cxx
+$ swig -javascript -node -c++ example.i

Then run node-gyp

@@ -353,8 +353,8 @@ It has some extras to configure node-webkit. See the
 {
-  "name": "example"
-  "main": "app.html"
+  "name": "example",
+  "main": "app.html",
   "window": {
     "show": true,
     "width": 800,