move *.browser and *.node to browser/* and node/*
...this should leave the lib folder a little bit less cluttered.
This commit is contained in:
parent
a179251152
commit
f82fa5007a
|
@ -1,5 +1,5 @@
|
||||||
if (process.versions) {
|
if (process.versions) {
|
||||||
module.exports = require('./Key.node');
|
module.exports = require('./node/Key');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
module.exports = require('./Key.browser');
|
module.exports = require('./browser/Key');
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
if (process.versions) {
|
if (process.versions) {
|
||||||
module.exports = require('./Point.node');
|
module.exports = require('./node/Point');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
module.exports = require('./Point.browser');
|
module.exports = require('./browser/Point');
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
var ECKey = require('../browser/vendor-bundle.js').ECKey;
|
var ECKey = require('../../browser/vendor-bundle.js').ECKey;
|
||||||
var buffertools = require('buffertools');
|
var buffertools = require('buffertools');
|
||||||
|
|
||||||
var Key = function() {
|
var Key = function() {
|
|
@ -4,11 +4,11 @@ var imports = require('soop').imports();
|
||||||
var Key = imports.Key || require('./Key');
|
var Key = imports.Key || require('./Key');
|
||||||
var bignum = imports.bignum || require('bignum');
|
var bignum = imports.bignum || require('bignum');
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
var ECKey = require('../browser/vendor-bundle.js').ECKey;
|
var ECKey = require('../../browser/vendor-bundle.js').ECKey;
|
||||||
var ECPointFp = require('../browser/vendor-bundle.js').ECPointFp;
|
var ECPointFp = require('../../browser/vendor-bundle.js').ECPointFp;
|
||||||
var ECFieldElementFp = require('../browser/vendor-bundle.js').ECFieldElementFp;
|
var ECFieldElementFp = require('../../browser/vendor-bundle.js').ECFieldElementFp;
|
||||||
var getSECCurveByName = require('../browser/vendor-bundle.js').getSECCurveByName;
|
var getSECCurveByName = require('../../browser/vendor-bundle.js').getSECCurveByName;
|
||||||
var BigInteger = require('../browser/vendor-bundle.js').BigInteger;
|
var BigInteger = require('../../browser/vendor-bundle.js').BigInteger;
|
||||||
var should = require('chai').should();
|
var should = require('chai').should();
|
||||||
|
|
||||||
//a point on the secp256k1 curve
|
//a point on the secp256k1 curve
|
|
@ -1,7 +1,7 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var imports = require('soop').imports();
|
var imports = require('soop').imports();
|
||||||
var Key = imports.Key || require('./Key');
|
var Key = imports.Key || require('../Key');
|
||||||
var bignum = imports.bignum || require('bignum');
|
var bignum = imports.bignum || require('bignum');
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
|
|
Loading…
Reference in New Issue