Mercurial > MadButterfly
comparison nodejs/README @ 700:8f49e0235097
Reformat README for nodejs binding
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 11 Aug 2010 20:14:18 +0800 |
parents | d45c928f6523 |
children | 4ca7a7ad7364 |
comparison
equal
deleted
inserted
replaced
699:0b98bdc53215 | 700:8f49e0235097 |
---|---|
1 svg.js: | 1 svg.js: |
2 =============== | 2 =============== |
3 | 3 |
4 The sample code to load an SVG file. It requires the libxml, which is available at http://github.com/polotek/libxmljs/tree/refactor. | 4 The sample code to load an SVG file. It requires the libxml, which is |
5 Please copy the libxmljs.node to the objs/default if you want to test the libxml+mbfly without installing them into the system. The | 5 available at http://github.com/polotek/libxmljs/tree/refactor. Please |
6 path can be defined by the NODE_PATH environment variable. | 6 copy the libxmljs.node to the objs/default if you want to test the |
7 libxml+mbfly without installing them into the system. The path can be | |
8 defined by the NODE_PATH environment variable. | |
7 | 9 |
8 (1) Compile MadButterfly with nodejs support | 10 (1) Compile MadButterfly with nodejs support |
9 ~user/MadButterfly$ ./configure --enable-nodejs; make | 11 ~user/MadButterfly$ ./configure --enable-nodejs; make |
10 | 12 |
11 (2) Compile libxml | 13 (2) Compile libxml |