2
2
3
3
node-webkit is an app runtime based on ` Chromium ` and ` node.js ` . You can
4
4
write native apps in HTML and Javascript with node-webkit. It also lets you
5
- to call Node.js modules directly from DOM and enables a new way of writing
5
+ call Node.js modules directly from the DOM and enables a new way of writing
6
6
native applications with all Web technologies.
7
7
8
- It's created and developed in Intel Open Source Technology Center.
8
+ It's created and developed in the Intel Open Source Technology Center.
9
9
10
10
[ Introduction to node-webkit (slides)] ( https://speakerdeck.com/u/zcbenz/p/node-webkit-app-runtime-based-on-chromium-and-node-dot-js ) .
11
11
@@ -35,27 +35,27 @@ You may also be interested in [our demos repository](https://github.com/zcbenz/n
35
35
36
36
Create ` index.html ` :
37
37
38
- ```` html
38
+ ``` html
39
39
<!DOCTYPE html>
40
40
<html >
41
- <head >
42
- <title >Hello World!</title >
43
- </head >
44
- <body >
45
- <h1 >Hello World!</h1 >
46
- We are using node.js <script >document .write (process .version ) </script >
47
- </body >
41
+ <head >
42
+ <title >Hello World!</title >
43
+ </head >
44
+ <body >
45
+ <h1 >Hello World!</h1 >
46
+ We are using node.js <script >document .write (process .version ) </script >.
47
+ </body >
48
48
</html >
49
- ````
49
+ ```
50
50
51
51
Create ` package.json ` :
52
52
53
- ```` json
53
+ ``` json
54
54
{
55
55
"name" : " nw-demo" ,
56
56
"main" : " index.html"
57
57
}
58
- ````
58
+ ```
59
59
60
60
Compress ` index.html ` and ` package.json ` into a zip archive called ` app.nw ` :
61
61
@@ -65,9 +65,11 @@ $ zip app.nw index.html package.json
65
65
66
66
This should create a structure like this:
67
67
68
- app.nw
69
- |-- package.json
70
- `-- index.html
68
+ ```
69
+ app.nw
70
+ |-- package.json
71
+ `-- index.html
72
+ ```
71
73
72
74
Download the prebuilt binary for your platform and use it to open the
73
75
` app.nw ` file:
@@ -90,8 +92,8 @@ And our [Wiki](https://github.com/rogerwang/node-webkit/wiki) for much more.
90
92
91
93
## Community
92
94
93
- We use [ node-webkit group] ( http://groups.google.com/group/node-webkit ) as
94
- our mailing list, subscribe via [ node-webkit+subscribe@googlegroups.com ] ( mailto:node-webkit+subscribe@googlegroups.com ) .
95
+ We use the [ node-webkit group] ( http://groups.google.com/group/node-webkit ) as
96
+ our mailing list. Subscribe via [ node-webkit+subscribe@googlegroups.com ] ( mailto:node-webkit+subscribe@googlegroups.com ) .
95
97
96
98
## License
97
99
0 commit comments