8000 lint · garyfeng/plotly.js@071a459 · GitHub
[go: up one dir, main page]

Skip to content 10000

Commit 071a459

Browse files
committed
lint
1 parent 6d8583e commit 071a459

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ lib.fillUnique = function(array, item) {
339339
if(item && array.indexOf(item) === -1) array.push(item);
340340

341341
return array;
342-
}
342+
};
343343

344344
lib.mergeArray = function(traceAttr, cd, cdAttr) {
345345
if(Array.isArray(traceAttr)) {

src/plots/plots.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ plots._hasPlotType = function(category) {
547547
}
548548

549549
return false;
550-
}
550+
};
551551

552552
plots.cleanPlot = function(newFullData, newFullLayout, oldFullData, oldFullLayout) {
553553
var i, j;
@@ -763,7 +763,7 @@ plots.supplyLayoutModuleDefaults = function(layoutIn, layoutOut, fullData) {
763763
}
764764

765765
// trace module layout defaults
766-
var modules = layoutOut._modules
766+
var modules = layoutOut._modules;
767767
for(i = 0; i < modules.length; i++) {
768768
_module = modules[i];
769769

test/jasmine/tests/fx_test.js< 81BD /code>

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ describe('Test FX', function() {
1515
_has: Plots._hasPlotType
1616
};
1717
fullData = [{}];
18-
})
19-
18+
});
2019

2120
it('should default (blank version)', function() {
2221
Fx.supplyLayoutDefaults(layoutIn, layoutOut, fullData);

0 commit comments

Comments
 (0)
0