Browse Source

move bitcore-dev.js -> bundle.js

To make it easier to test the master branch of bitcore with other apps,
especially Copay.
patch-2
Ryan X. Charles 11 years ago
parent
commit
0c8f7d4d21
  1. 2
      browser/build.js
  2. 2
      test/index.html

2
browser/build.js

@ -166,7 +166,7 @@ if (require.main === module) {
var pjson = require('../package.json'); var pjson = require('../package.json');
bitcoreBundle.pipe( bitcoreBundle.pipe(
program.stdout ? process.stdout : program.stdout ? process.stdout :
fs.createWriteStream('browser/bitcore-dev.js')); fs.createWriteStream('browser/bundle.js'));
} }
module.exports.createBitcore = createBitcore; module.exports.createBitcore = createBitcore;

2
test/index.html

@ -11,7 +11,7 @@
<script src="../node_modules/mocha/mocha.js"></script> <script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script> <script src="../node_modules/chai/chai.js"></script>
<script>mocha.setup('bdd')</script> <script>mocha.setup('bdd')</script>
<script src="../browser/bitcore-dev.js"></script> <script src="../browser/bundle.js"></script>
<script src="../browser/testdata.js"></script> <script src="../browser/testdata.js"></script>
<script src="adapter.js"></script> <script src="adapter.js"></script>

Loading…
Cancel
Save