add "real" 0.1.24 and 0.1.25, and...

In this commit I have added the 'official' versions 0.1.24 and 0.1.25 to the
repo, and also created a new bitcore-dev.js that is not included in the repo.
bitcoin-dev.js is what we will use for development. When we define a new
version, we create a new bitcore-x.x.x.js file, and point bitcore-latest.js to
that. Note that the bitcore-x.x.x.js files should always be the "main" bundle,
which does not include BIP39 or BIP70, or other large packages.
This commit is contained in:
Ryan X. Charles 2014-07-07 19:50:57 -07:00
parent 4e3b258f07
commit 153cb7ad50
6 changed files with 475 additions and 146 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ tags
coverage
.DS_Store
docs
browser/bitcore-dev.js

File diff suppressed because one or more lines are too long

351
browser/bitcore-0.1.25.js Normal file

File diff suppressed because one or more lines are too long

View File

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

View File

@ -1174,7 +1174,6 @@ var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
? Uint8Array
: Array
var ZERO = '0'.charCodeAt(0)
var PLUS = '+'.charCodeAt(0)
var SLASH = '/'.charCodeAt(0)
var NUMBER = '0'.charCodeAt(0)
@ -1283,9 +1282,9 @@ var lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
return output
}
module.exports.toByteArray = b64ToByteArray
module.exports.fromByteArray = uint8ToBase64
}())
exports.toByteArray = b64ToByteArray
exports.fromByteArray = uint8ToBase64
}(typeof exports === 'undefined' ? (this.base64js = {}) : exports))
},{}],4:[function(require,module,exports){
exports.read = function(buffer, offset, isLE, mLen, nBytes) {

View File

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