Browse Source

change README names

patch-2
Manuel Araoz 11 years ago
parent
commit
c339fb1f2f
  1. 4
      README.md
  2. 1
      browser/build.js

4
README.md

@ -262,7 +262,7 @@ To build bitcore full bundle for the browser:
(this is automatically executed after you run `npm install`) (this is automatically executed after you run `npm install`)
``` ```
node browser/browserify.js -a node browser/build.js -a
``` ```
This will generate a `browser/bundle.js` file which you can include This will generate a `browser/bundle.js` file which you can include
in your HTML to use bitcore in the browser. in your HTML to use bitcore in the browser.
@ -294,7 +294,7 @@ To generate a customized bitcore bundle, you can specify
which submodules you want to include in it with the -s option: which submodules you want to include in it with the -s option:
``` ```
node browser/browserify.js -s Transaction,Address node browser/build.js -s Transaction,Address
``` ```
This will generate a `browser/bundle.js` containing only the Transaction This will generate a `browser/bundle.js` containing only the Transaction
and Address class, with all their dependencies. and Address class, with all their dependencies.

1
browser/build.js

@ -109,6 +109,5 @@ tb.transform('brfs');
tb.bundle().pipe(fs.createWriteStream('browser/testdata.js')); tb.bundle().pipe(fs.createWriteStream('browser/testdata.js'));
console.log('cwd '+__dirname);

Loading…
Cancel
Save