Permalink
Browse files

style

  • Loading branch information...
1 parent b90e82f commit 5b8094d0f83bada106a07422df96a6b2de2793ca @leetreveil committed Nov 7, 2012
View
@@ -1,5 +1,5 @@
-var strtok = require('strtok'),
- stream = require('stream');
+var strtok = require('strtok');
+var stream = require('stream');
stream.Stream.prototype.onRealEnd = function(callback) {
var called = false;
View
@@ -1,6 +1,6 @@
-var strtok = require('strtok'),
- fs = require('fs'),
- common = require('./common');
+var strtok = require('strtok');
+var fs = require('fs');
+var common = require('./common');
var Flac = module.exports = function(stream) {
this.stream = stream;
View
@@ -1,7 +1,7 @@
-var strtok = require('strtok'),
- fs = require('fs'),
- parser = require('./id3v2_frames'),
- common = require('./common');
+var strtok = require('strtok');
+var fs = require('fs');
+var parser = require('./id3v2_frames');
+var common = require('./common');
var Id3v2 = module.exports = function(stream) {
this.stream = stream;
View
@@ -1,8 +1,8 @@
-var Buffer = require('buffer').Buffer,
- strtok = require('strtok'),
- common = require('./common'),
- findZero = common.findZero,
- decodeString = common.decodeString;
+var Buffer = require('buffer').Buffer;
+var strtok = require('strtok');
+var common = require('./common');
+var findZero = common.findZero;
+var decodeString = common.decodeString;
exports.readData = function readData(b, type, flags, major) {
var encoding;
View
@@ -1,6 +1,6 @@
-var strtok = require('strtok'),
- common = require('./common'),
- fs = require('fs');
+var strtok = require('strtok');
+var common = require('./common');
+var fs = require('fs');
var Id4 = module.exports = function(stream) {
this.stream = stream;
View
@@ -1,5 +1,5 @@
-var common = require('./common'),
- strtok = require('strtok');
+var common = require('./common');
+var strtok = require('strtok');
var MonkeysAudio = module.exports = function(stream) {
this.stream = stream;
View
@@ -1,5 +1,5 @@
-var common = require('./common'),
- strtok = require('strtok');
+var common = require('./common');
+var strtok = require('strtok');
var MusicMetadata = module.exports = function(stream) {
this.stream = stream;
@@ -1,7 +1,7 @@
-var mm = require('../lib/index'),
- fs = require('fs'),
- testy = require('testy')(),
- assert = testy.assert;
+var mm = require('../lib/index');
+var fs = require('fs');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 32;
View
@@ -1,6 +1,6 @@
-var common = require('../lib/common'),
- testy = require('testy')(),
- assert = testy.assert;
+var common = require('../lib/common');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 1;
View
@@ -1,7 +1,7 @@
-var mm = require('../lib/index'),
- fs = require('fs'),
- testy = require('testy')(),
- assert = testy.assert;
+var mm = require('../lib/index');
+var fs = require('fs');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 36;
View
@@ -1,6 +1,6 @@
-var parseGenre = require('../lib/common').parseGenre,
- testy = require('testy')(),
- assert = testy.assert;
+var parseGenre = require('../lib/common').parseGenre;
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 8;
@@ -26,9 +26,4 @@ var keywords = ('(RX)(CR)');
assert.strictEqual(parseGenre(keywords), 'RX/CR');
var newSplit = ('RX/CR');
-assert.strictEqual(parseGenre(newSplit), 'RX/CR');
-
-
-
-
-
+assert.strictEqual(parseGenre(newSplit), 'RX/CR');
View
@@ -1,7 +1,7 @@
-var id3 = require('../lib/index'),
- fs = require('fs'),
- testy = require('testy')(),
- assert = testy.assert;
+var id3 = require('../lib/index');
+var fs = require('fs');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 17;
View
@@ -1,7 +1,7 @@
-var id3 = require('../lib/index'),
- fs = require('fs'),
- testy = require('testy')(),
- assert = testy.assert;
+var id3 = require('../lib/index');
+var fs = require('fs');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 45;
View
@@ -1,9 +1,10 @@
-var id3 = require('../lib/index'),
- fs = require('fs'),
- testy = require('testy')(),
- assert = testy.assert;
+var id3 = require('../lib/index');
+var fs = require('fs');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 42;
+
var sample = require('path').join(__dirname, 'samples/id3v2.3.mp3');
var parser = new id3(fs.createReadStream(sample));
View
@@ -1,7 +1,7 @@
-var id3 = require('../lib/index'),
- fs = require('fs'),
- testy = require('testy')(),
- assert = testy.assert;
+var id3 = require('../lib/index');
+var fs = require('fs');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 52;
View
@@ -1,7 +1,7 @@
-var id3 = require('../lib/index'),
- fs = require('fs'),
- testy = require('testy')(),
- assert = testy.assert;
+var id3 = require('../lib/index');
+var fs = require('fs');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 47;
@@ -1,7 +1,7 @@
-var fs = require('fs'),
- mm = require('../lib/index'),
- testy = require('testy')(),
- assert = testy.assert;
+var fs = require('fs');
+var mm = require('../lib/index');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 3;
@@ -1,7 +1,7 @@
-var fs = require('fs'),
- mm = require('../lib/index'),
- testy = require('testy')(),
- assert = testy.assert;
+var fs = require('fs');
+var mm = require('../lib/index');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 1;
@@ -1,7 +1,7 @@
-var mm = require('../lib/index'),
- fs = require('fs'),
- testy = require('testy')(),
- assert = testy.assert;
+var mm = require('../lib/index');
+var fs = require('fs');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 13;
View
@@ -1,7 +1,7 @@
-var mm = require('../lib/index'),
- fs = require('fs'),
- testy = require('testy')(),
- assert = testy.assert;
+var mm = require('../lib/index');
+var fs = require('fs');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 47;
@@ -1,7 +1,7 @@
-var fs = require('fs'),
- mm = require('../lib/index'),
- testy = require('testy')(),
- assert = testy.assert;
+var fs = require('fs');
+var mm = require('../lib/index');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 10;
@@ -1,7 +1,7 @@
-var id3 = require('../lib/index'),
- fs = require('fs'),
- testy = require('testy')(),
- assert = testy.assert;
+var id3 = require('../lib/index');
+var fs = require('fs');
+var testy = require('testy')();
+var assert = testy.assert;
testy.expected = 9;

0 comments on commit 5b8094d

Please sign in to comment.