Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ccd79f

Browse files
committed
fix a few 🐄
1 parent 86ae51c commit 7ccd79f

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

src/plots/geo/index.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@ exports.plot = function plotGeo(gd) {
4949
// If geo is not instantiated, create one!
5050
if(geo === undefined) {
5151
geo = new Geo({
52-
id: geoId,
53-
container: fullLayout._geocontainer.node(),
54-
topojsonURL: gd._context.topojsonURL
55-
}, fullLayout);
52+
id: geoId,
53+
container: fullLayout._geocontainer.node(),
54+
topojsonURL: gd._context.topojsonURL
55+
},
56+
fullLayout
57+
);
5658

5759
fullLayout[geoId]._geo = geo;
5860
}

src/plots/gl3d/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ exports.plot = function plotGl3d(gd) {
5353
id: sceneId,
5454
staticPlot: gd._context.staticPlot,
5555
plotGlPixelRatio: gd._context.plotGlPixelRatio
56-
}, fullLayout
56+
},
57+
fullLayout
5758
);
5859

5960
fullLayout[sceneId]._scene = scene; // set ref to Scene instance

src/plots/gl3d/scene.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var showNoWebGlMsg = require('../../lib/show_no_webgl_msg');
2222
var createCamera = require('./camera');
2323
var project = require('./project');
2424
var setConvert = require('./set_convert');
25-
var createAxesOptions = require('./layout/convert');
25+
var createAxesOptions = require('./layout/convert');
2626
var createSpikeOptions = require('./layout/spikes');
2727
var computeTickMarks = require('./layout/tick_marks');
2828

0 commit comments

Comments
 (0)