Skip to content

Commit f8ce24a

Browse files
committed
lint
1 parent 94a450c commit f8ce24a

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

src/plotly.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
1+
/*
2+
* Pack internal modules unto an object.
3+
*
4+
* This object is require'ed in as 'Plotly' in numerous src and test files.
5+
* Require'ing 'Plotly' bypasses circular dependencies.
6+
*
7+
* Future development should move away from this pattern.
8+
*
9+
*/
10+
11+
// promise polyfill
112
require('es6-promise').polyfill();
213

314
exports.Lib = require('./lib/lib');
415
exports.util = require('./lib/svg_text_utils');
516

6-
// plot icons svg and css
17+
// plot icons svg and plot css
718
exports.Icons = require('../build/ploticon');
819
require('../build/plotcss');
920

test/jasmine/tests/axes_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('Test axes', function () {
2727
}
2828
}
2929
};
30-
var expectedYaxis = Plotly.Lib.extendDeep({} ,gd.layout.xaxis),
30+
var expectedYaxis = Plotly.Lib.extendDeep({}, gd.layout.xaxis),
3131
expectedXaxis = {
3232
title: 'Click to enter X axis title',
3333
type: 'date'

0 commit comments

Comments
 (0)