diff --git a/asn1.js b/asn1.js index c23ef15..351202b 100644 --- a/asn1.js +++ b/asn1.js @@ -133,7 +133,7 @@ Stream.prototype.parseInteger = function (start, end) { s = ''; if (len > 6) { len <<= 3; - var s = this.get(start); + s = this.get(start); if (s === 0) len -= 8; else diff --git a/dom.js b/dom.js index 8960d61..7dd696d 100644 --- a/dom.js +++ b/dom.js @@ -46,8 +46,7 @@ var ASN1 = (typeof module !== 'undefined') ? require('./asn1.js') : window.ASN1, } return o; } - }, - ASN1; + }; ASN1.prototype.toDOM = function () { var node = DOM.tag("div", "node"); diff --git a/test.js b/test.js index de339ad..0a706ef 100755 --- a/test.js +++ b/test.js @@ -1,5 +1,5 @@ #!/usr/bin/env node -/*jshint node: true, strict: true, globalstrict: true, es5: true, indent: 4, immed: true, undef: true, unused: true */ +/*jshint node: true, strict: true, globalstrict: true, indent: 4, immed: true, undef: true, unused: true */ 'use strict'; var Hex = require('./hex.js'),