Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Rollup #24

Merged
merged 9 commits into from
Jun 9, 2017
Merged

feat: Rollup #24

merged 9 commits into from
Jun 9, 2017

Conversation

gkatsev
Copy link
Member

@gkatsev gkatsev commented Jun 1, 2017

No description provided.

@imbcmdth
Copy link
Member

imbcmdth commented Jun 2, 2017

This smells ok to me...

babel({
babelrc: false,
exclude: 'node_modules/**',
presets: [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may need es3

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

babelrc: false,
exclude: 'node_modules/**',
presets: [
['es2015', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only tests, but maybe es3 for consistency

babelrc: false,
exclude: 'node_modules/**',
presets: [
['es2015', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may need es3

@@ -68,14 +68,14 @@ QUnit.test('stops sending events after deregistering', function() {
this.lineStream.on('data', temporary);
this.lineStream.on('data', permanent);
this.lineStream.push('line one\n');
QUnit.strictEqual(temporaryLines.length,
assert.strictEqual(temporaryLines.length,
permanentLines.length,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: indentation

QUnit.strictEqual(element.text,
assert.ok(element, 'an event was triggered');
assert.strictEqual(element.type, 'comment', 'the type is comment');
assert.strictEqual(element.text,
manifest.slice(1, manifest.length - 1),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: indentation

QUnit.strictEqual(element.tagType, 'key', 'parsed the tag type');
QUnit.strictEqual(element.attributes.URI,
assert.strictEqual(element.tagType, 'key', 'parsed the tag type');
assert.strictEqual(element.attributes.URI,
'https://example.com/key',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: indentation

'https://example.com/key',
'inferred a colon after the tag type');

element = null;
manifest = '#EXT-X-KEY: URI = "https://example.com/key",METHOD=AES-128\n';
this.lineStream.push(manifest);
QUnit.strictEqual(element.attributes.URI,
assert.strictEqual(element.attributes.URI,
'https://example.com/key',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: indentation

@@ -849,12 +849,12 @@ QUnit.test('parses characteristics attribute', function() {

parser.push(manifest);

QUnit.equal(parser.manifest.mediaGroups.SUBTITLES.subs.test.characteristics,
assert.equal(parser.manifest.mediaGroups.SUBTITLES.subs.test.characteristics,
'char',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: indentation

@@ -866,21 +866,21 @@ QUnit.test('parses FORCED attribute', function() {

parser.push(manifest);

QUnit.ok(parser.manifest.mediaGroups.SUBTITLES.subs.test.forced,
assert.ok(parser.manifest.mediaGroups.SUBTITLES.subs.test.forced,
'parsed FORCED attribute');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: indentation

let key;

for (key in testDataManifests) {
if (testDataExpected[key]) {
const parser = new Parser();

parser.push(testDataManifests[key]);
QUnit.deepEqual(parser.manifest,
assert.deepEqual(parser.manifest,
testDataExpected[key],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: indentation

@gkatsev gkatsev merged commit 47ef11f into master Jun 9, 2017
@gkatsev gkatsev deleted the rollup branch June 9, 2017 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants