Skip to content

Commit c01995e

Browse files
committed
lint (add 'use strict'; to add src files)
1 parent 23d3188 commit c01995e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+87
-36
lines changed

src/assets/geo_assets.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
910

1011
var saneTopojson = require('sane-topojson');
1112

13+
1214
// export the version found in the package.json
1315
exports.version = require('../../package.json').version;
1416

src/components/annotations/arrow_paths.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
910

1011
/**
1112
* centerx is a center of scaling tuned for maximum scalability of
@@ -17,6 +18,7 @@
1718
* TODO: option to have the pointed-to point a little in front of the
1819
* end of the line, as people tend to want a bit of a gap there...
1920
*/
21+
2022
module.exports = [
2123
// no arrow
2224
'',

src/components/annotations/attributes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
910

1011
var Plotly = require('../../plotly');
1112
var ARROWPATHS = require('./arrow_paths');
1213
var fontAttrs = require('../../plots/font_attributes');
1314
var extendFlat = require('../../lib/extend').extendFlat;
1415

16+
1517
module.exports = {
1618
_isLinkedToArray: true,
1719

src/components/color/attributes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911

1012
// IMPORTANT - default colors should be in hex for compatibility
1113
exports.defaults = [

src/components/colorbar/attributes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
910

1011
var axesAttrs = require('../../plots/cartesian/layout_attributes');
1112
var fontAttrs = require('../../plots/font_attributes');
1213
var extendFlat = require('../../lib/extend').extendFlat;
1314

15+
1416
module.exports = {
1517
// TODO: only right is supported currently
1618
// orient: {

src/components/colorscale/attributes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911

1012
module.exports = {
1113
zauto: {

src/components/colorscale/default_scale.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
var scales = require('./scales');
1012

1113

src/components/colorscale/scales.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911

1012
module.exports = {
1113
'Greys':[[0,'rgb(0,0,0)'],[1,'rgb(255,255,255)']],

src/components/errorbars/attributes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911

1012
module.exports = {
1113
visible: {

src/components/legend/attributes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
910

1011
var fontAttrs = require('../../plots/font_attributes');
1112
var colorAttrs = require('../color/attributes');

0 commit comments

Comments
 (0)