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

Remove extraneous semicolons #454

Merged
merged 1 commit into from
Jul 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/cast/cast_receiver_unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ describe('CastReceiver', function() {
getSystemVolume: function() { return { level: 1, muted: false }; },
getCastMessageBus: function() { return mockMessageBus; }
};
};
}

function createMockMessageBus() {
var bus = {
Expand Down
6 changes: 3 additions & 3 deletions test/dash/dash_parser_manifest_unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('DashParser.Manifest', function() {
*/
function makeTestManifest(lines) {
return startLines.concat(lines, endLines).join('\n');
};
}

/**
* Tests that the parser produces the correct results.
Expand All @@ -61,7 +61,7 @@ describe('DashParser.Manifest', function() {
.then(function(actual) { expect(actual).toEqual(expected); })
.catch(fail)
.then(done);
};
}

it('with SegmentBase', function(done) {
var source = makeTestManifest([
Expand Down Expand Up @@ -94,7 +94,7 @@ describe('DashParser.Manifest', function() {
]);
testDashParser(done, source);
});
};
}

describe('parses and inherits attributes', function() {
makeTestsForEach(
Expand Down
2 changes: 1 addition & 1 deletion test/media/mp4_vtt_parser_unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,5 @@ describe('Mp4vttParser', function() {
if (expected[i].position)
expect(actual[i].position).toBe(expected[i].position);
}
};
}
});
2 changes: 1 addition & 1 deletion test/media/streaming_engine_integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ describe('StreamingEngine', function() {
manifest.minBufferTime = 2;

// Create InitSegmentReferences.
function makeUris(uri) { return function() { return [uri]; }; };
function makeUris(uri) { return function() { return [uri]; }; }
manifest.periods[0].streamSetsByType.audio.streams[0].initSegmentReference =
new shaka.media.InitSegmentReference(makeUris('1_audio_init'), 0, null);
manifest.periods[0].streamSetsByType.video.streams[0].initSegmentReference =
Expand Down
2 changes: 1 addition & 1 deletion test/test/util/dash_parser_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ shaka.test.Dash.makeTimelineTests = function(type, extraAttrs, extraChildren) {
var end = '</' + type + '>';
var lines = [].concat(start, extraChildren, timeline, end);
return Dash.makeSimpleManifestText(lines, opt_dur, opt_start);
};
}

// All tests should have 5 segments and have the relative URIs:
// s1.mp4 s2.mp4 s3.mp4 s4.mp4 s5.mp4
Expand Down
2 changes: 1 addition & 1 deletion third_party/closure/goog/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ goog.exportProperty = function(object, publicName, symbol) {
*/
goog.inherits = function(childCtor, parentCtor) {
/** @constructor */
function tempCtor() {};
function tempCtor() {}
tempCtor.prototype = parentCtor.prototype;
childCtor.superClass_ = parentCtor.prototype;
childCtor.prototype = new tempCtor();
Expand Down