refactor: lint.

This commit is contained in:
Christopher Jeffrey 2016-08-24 04:15:03 -07:00
parent 79f7610145
commit 73c54cf5ed
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
7 changed files with 6 additions and 8 deletions

View File

@ -54,7 +54,7 @@ DB.prototype.iterator = function iterator(options) {
};
DB.destroy = function destroy(db, callback) {
level.destroy(db, callback);
Level.destroy(db, callback);
};
function Batch(db) {

View File

@ -883,7 +883,7 @@ function toKey(opt) {
return opt;
if (opt.privateKey)
return opt.privateKey
return opt.privateKey;
if (opt.publicKey)
return opt.publicKey;

View File

@ -1,5 +1,5 @@
/*!
* script.js - script interpreter for bcoin
* opcode.js - opcode object for bcoin
* Copyright (c) 2014-2015, Fedor Indutny (MIT License)
* Copyright (c) 2014-2016, Christopher Jeffrey (MIT License).
* https://github.com/bcoin-org/bcoin

View File

@ -1,5 +1,5 @@
/*!
* script.js - script interpreter for bcoin
* program.js - program object for bcoin
* Copyright (c) 2014-2015, Fedor Indutny (MIT License)
* Copyright (c) 2014-2016, Christopher Jeffrey (MIT License).
* https://github.com/bcoin-org/bcoin
@ -11,7 +11,6 @@ var bcoin = require('../env');
var constants = bcoin.constants;
var utils = require('../utils/utils');
var assert = utils.assert;
var opcodes = constants.opcodes;
var scriptTypes = constants.scriptTypes;
/**

View File

@ -1,5 +1,5 @@
/*!
* script.js - script interpreter for bcoin
* stack.js - stack object for bcoin
* Copyright (c) 2014-2015, Fedor Indutny (MIT License)
* Copyright (c) 2014-2016, Christopher Jeffrey (MIT License).
* https://github.com/bcoin-org/bcoin

View File

@ -1,5 +1,5 @@
/*!
* script.js - script interpreter for bcoin
* witness.js - witness object for bcoin
* Copyright (c) 2014-2015, Fedor Indutny (MIT License)
* Copyright (c) 2014-2016, Christopher Jeffrey (MIT License).
* https://github.com/bcoin-org/bcoin

View File

@ -14,7 +14,6 @@ var assert = utils.assert;
var constants = bcoin.constants;
var BufferReader = require('../utils/reader');
var BufferWriter = require('../utils/writer');
var TXDB = require('./txdb');
var Path = require('./path');
var MAX_POINT = String.fromCharCode(0xdbff, 0xdfff); // U+10FFFF