Skip to content

[EXPERIMENTAL] Run prettier --write #1374

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

Closed
wants to merge 1 commit into from
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 2 additions & 4 deletions lib/bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/traces/bar');
"use strict";
module.exports = require("../src/traces/bar");
6 changes: 2 additions & 4 deletions lib/box.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/traces/box');
"use strict";
module.exports = require("../src/traces/box");
6 changes: 2 additions & 4 deletions lib/calendars.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/components/calendars');
"use strict";
module.exports = require("../src/components/calendars");
6 changes: 2 additions & 4 deletions lib/candlestick.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/traces/candlestick');
"use strict";
module.exports = require("../src/traces/candlestick");
6 changes: 2 additions & 4 deletions lib/choropleth.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/traces/choropleth');
"use strict";
module.exports = require("../src/traces/choropleth");
6 changes: 2 additions & 4 deletions lib/contour.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/traces/contour');
"use strict";
module.exports = require("../src/traces/contour");
6 changes: 2 additions & 4 deletions lib/contourgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/traces/contourgl');
"use strict";
module.exports = require("../src/traces/contourgl");
6 changes: 2 additions & 4 deletions lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/core');
"use strict";
module.exports = require("../src/core");
6 changes: 2 additions & 4 deletions lib/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/transforms/filter');
"use strict";
module.exports = require("../src/transforms/filter");
6 changes: 2 additions & 4 deletions lib/groupby.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/transforms/groupby');
"use strict";
module.exports = require("../src/transforms/groupby");
6 changes: 2 additions & 4 deletions lib/heatmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/traces/heatmap');
"use strict";
module.exports = require("../src/traces/heatmap");
6 changes: 2 additions & 4 deletions lib/heatmapgl.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/traces/heatmapgl');
"use strict";
module.exports = require("../src/traces/heatmapgl");
6 changes: 2 additions & 4 deletions lib/histogram.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/traces/histogram');
"use strict";
module.exports = require("../src/traces/histogram");
6 changes: 2 additions & 4 deletions lib/histogram2d.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/traces/histogram2d');
"use strict";
module.exports = require("../src/traces/histogram2d");
6 changes: 2 additions & 4 deletions lib/histogram2dcontour.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/traces/histogram2dcontour');
"use strict";
module.exports = require("../src/traces/histogram2dcontour");
11 changes: 3 additions & 8 deletions lib/index-basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
"use strict";
var Plotly = require("./core");

'use strict';

var Plotly = require('./core');

Plotly.register([
require('./bar'),
require('./pie')
]);
Plotly.register([require("./bar"), require("./pie")]);

module.exports = Plotly;
24 changes: 11 additions & 13 deletions lib/index-cartesian.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,19 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

var Plotly = require('./core');
"use strict";
var Plotly = require("./core");

Plotly.register([
require('./bar'),
require('./box'),
require('./heatmap'),
require('./histogram'),
require('./histogram2d'),
require('./histogram2dcontour'),
require('./pie'),
require('./contour'),
require('./scatterternary')
require("./bar"),
require("./box"),
require("./heatmap"),
require("./histogram"),
require("./histogram2d"),
require("./histogram2dcontour"),
require("./pie"),
require("./contour"),
require("./scatterternary")
]);

module.exports = Plotly;
16 changes: 7 additions & 9 deletions lib/index-finance.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

var Plotly = require('./core');
"use strict";
var Plotly = require("./core");

Plotly.register([
require('./bar'),
require('./histogram'),
require('./pie'),
require('./ohlc'),
require('./candlestick')
require("./bar"),
require("./histogram"),
require("./pie"),
require("./ohlc"),
require("./candlestick")
]);

module.exports = Plotly;
11 changes: 3 additions & 8 deletions lib/index-geo.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
"use strict";
var Plotly = require("./core");

'use strict';

var Plotly = require('./core');

Plotly.register([
require('./scattergeo'),
require('./choropleth')
]);
Plotly.register([require("./scattergeo"), require("./choropleth")]);

module.exports = Plotly;
14 changes: 6 additions & 8 deletions lib/index-gl2d.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

var Plotly = require('./core');
"use strict";
var Plotly = require("./core");

Plotly.register([
require('./scattergl'),
require('./pointcloud'),
require('./heatmapgl'),
require('./contourgl')
require("./scattergl"),
require("./pointcloud"),
require("./heatmapgl"),
require("./contourgl")
]);

module.exports = Plotly;
12 changes: 5 additions & 7 deletions lib/index-gl3d.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

var Plotly = require('./core');
"use strict";
var Plotly = require("./core");

Plotly.register([
require('./scatter3d'),
require('./surface'),
require('./mesh3d')
require("./scatter3d"),
require("./surface"),
require("./mesh3d")
]);

module.exports = Plotly;
10 changes: 3 additions & 7 deletions lib/index-mapbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
"use strict";
var Plotly = require("./core");

'use strict';

var Plotly = require('./core');

Plotly.register([
require('./scattermapbox')
]);
Plotly.register([require("./scattermapbox")]);

module.exports = Plotly;
60 changes: 24 additions & 36 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,31 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

var Plotly = require('./core');
"use strict";
var Plotly = require("./core");

// traces
Plotly.register([
require('./bar'),
require('./box'),
require('./heatmap'),
require('./histogram'),
require('./histogram2d'),
require('./histogram2dcontour'),
require('./pie'),
require('./contour'),
require('./scatterternary'),

require('./scatter3d'),
require('./surface'),
require('./mesh3d'),

require('./scattergeo'),
require('./choropleth'),

require('./scattergl'),
require('./pointcloud'),
require('./heatmapgl'),

require('./scattermapbox'),

require('./ohlc'),
require('./candlestick')
require("./bar"),
require("./box"),
require("./heatmap"),
require("./histogram"),
require("./histogram2d"),
require("./histogram2dcontour"),
require("./pie"),
require("./contour"),
require("./scatterternary"),
require("./scatter3d"),
require("./surface"),
require("./mesh3d"),
require("./scattergeo"),
require("./choropleth"),
require("./scattergl"),
require("./pointcloud"),
require("./heatmapgl"),
require("./scattermapbox"),
require("./ohlc"),
require("./candlestick")
]);

// transforms
Expand All @@ -49,14 +42,9 @@ Plotly.register([
// For more info, see:
// https://github.com/plotly/plotly.js/pull/978#pullrequestreview-2403353
//
Plotly.register([
require('./filter'),
require('./groupby')
]);
Plotly.register([require("./filter"), require("./groupby")]);

// components
Plotly.register([
require('./calendars')
]);
Plotly.register([require("./calendars")]);

module.exports = Plotly;
6 changes: 2 additions & 4 deletions lib/mesh3d.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = require('../src/traces/mesh3d');
"use strict";
module.exports = require("../src/traces/mesh3d");
Loading