Skip to content

Commit de50fe8

Browse files
committed
Fix lint errors
1 parent b21464d commit de50fe8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/plot_api/plot_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2566,7 +2566,7 @@ Plotly.addFrames = function(gd, frameList, indices) {
25662566

25672567
var insertions = [];
25682568
for(i = frameList.length - 1; i >= 0; i--) {
2569-
if (!frameList[i]) continue;
2569+
if(!frameList[i]) continue;
25702570

25712571
var name = (_hash[frameList[i].name] || {}).name;
25722572
var newName = frameList[i].name;

test/jasmine/tests/frame_api_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ describe('Test frame api', function() {
4343
}).catch(fail).then(done);
4444
});
4545

46-
it('compresses nulls when adding frames', function (done) {
47-
Plotly.addFrames(gd, [null, {name: 'test'}, null]).then(function () {
46+
it('compresses nulls when adding frames', function(done) {
47+
Plotly.addFrames(gd, [null, {name: 'test'}, null]).then(function() {
4848
expect(Object.keys(h)).toEqual(['test']);
4949
expect(f).toEqual([{name: 'test'}]);
5050
}).catch(fail).then(done);

0 commit comments

Comments
 (0)