Skip to content

Commit bdba642

Browse files
committed
Merge branch 'master' into update-comments-4
2 parents c0c0f81 + e13cafd commit bdba642

File tree

180 files changed

+36076
-132
lines changed

Some content is hidden

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

180 files changed

+36076
-132
lines changed

shelly/plotlyjs/static/plotlyjs/karma.conf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ func.defaultConfig = {
2525
files: [
2626
shellyStatic + 'plugins/jquery-1.8.3.min.js',
2727
//'../../../streaming/static/streaming/build/streamhead-bundle.js',
28-
shellyStatic + 'plugins/d3.v3.min.js',
2928
'tests/*_test.js'
3029
],
3130

shelly/plotlyjs/static/plotlyjs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"arraytools": "^1.0.0",
1414
"browserify": "^6.1.0",
1515
"convex-hull": "^1.0.3",
16+
"d3": "3.3.5",
1617
"delaunay-triangulate": "^1.1.6",
1718
"gl-error3d": "^1.0.0",
1819
"gl-line3d": "^1.0.1",

shelly/plotlyjs/static/plotlyjs/src/annotations.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
'use strict';
22

3-
// ---external global dependencies
4-
/* global d3:false */
5-
6-
var annotations = module.exports = {},
7-
Plotly = require('./plotly'),
3+
var Plotly = require('./plotly'),
4+
d3 = require('d3'),
85
isNumeric = require('./isnumeric');
96

7+
var annotations = module.exports = {};
8+
109
// centerx is a center of scaling tuned for maximum scalability of
1110
// the arrowhead ie throughout mag=0.3..3 the head is joined smoothly
1211
// to the line, but the endpoint moves.

shelly/plotlyjs/static/plotlyjs/src/axes.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
'use strict';
22

33
// ---external global dependencies
4-
/* global d3:false, Promise:false */
4+
/* Promise:false */
55

6-
var axes = module.exports = {},
7-
Plotly = require('./plotly'),
6+
var Plotly = require('./plotly'),
7+
d3 = require('d3'),
88
isNumeric = require('./isnumeric');
99

10+
var axes = module.exports = {};
11+
1012
Plotly.Plots.registerSubplot('cartesian', ['xaxis', 'yaxis'], ['x', 'y'], {
1113
xaxis: {
1214
valType: 'axisid',

shelly/plotlyjs/static/plotlyjs/src/bars.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
'use strict';
22

3-
// ---external global dependencies
4-
/* global d3:false */
5-
6-
var bars = module.exports = {},
7-
Plotly = require('./plotly'),
3+
var Plotly = require('./plotly'),
4+
d3 = require('d3'),
85
isNumeric = require('./isnumeric');
96

7+
var bars = module.exports = {};
8+
109
Plotly.Plots.register(bars, 'bar',
1110
['cartesian', 'bar', 'oriented', 'markerColorscale', 'errorBarsOK', 'showLegend'], {
1211
description: [

shelly/plotlyjs/static/plotlyjs/src/boxes.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
'use strict';
22

3-
// ---external global dependencies
4-
/* global d3:false */
5-
6-
var boxes = module.exports = {},
7-
Plotly = require('./plotly'),
3+
var Plotly = require('./plotly'),
4+
d3 = require('d3'),
85
isNumeric = require('./isnumeric');
96

7+
var boxes = module.exports = {};
8+
109
Plotly.Plots.register(boxes, 'box',
1110
['cartesian', 'symbols', 'oriented', 'box', 'showLegend'], {
1211
description: [

shelly/plotlyjs/static/plotlyjs/src/color.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
'use strict';
22

3-
var color = module.exports = {},
4-
tinycolor = require('tinycolor2'),
3+
var tinycolor = require('tinycolor2'),
54
isNumeric = require('./isnumeric');
65

6+
var color = module.exports = {};
7+
78
// IMPORTANT - default colors should be in hex for grid.js
89
color.defaults = [
910
'#1f77b4', // muted blue

shelly/plotlyjs/static/plotlyjs/src/colorbar.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
'use strict';
22

3-
// ---external global dependencies
4-
/* global d3:false */
5-
63
var Plotly = require('./plotly'),
4+
d3 = require('d3'),
75
isNumeric = require('./isnumeric');
86

97
var colorbar = module.exports = function(td, id) {

shelly/plotlyjs/static/plotlyjs/src/colorscale.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
'use strict';
22

3-
/* global d3:false */
4-
5-
var colorscale = module.exports = {},
6-
Plotly = require('./plotly'),
3+
var Plotly = require('./plotly'),
4+
d3 = require('d3'),
75
tinycolor = require('tinycolor2'),
86
isNumeric = require('./isnumeric');
97

8+
var colorscale = module.exports = {};
9+
1010
colorscale.scales = {
1111
'Greys':[[0,'rgb(0,0,0)'],[1,'rgb(255,255,255)']],
1212

shelly/plotlyjs/static/plotlyjs/src/contour.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
'use strict';
22

3-
// ---external global dependencies
4-
/* global d3:false */
3+
var Plotly = require('./plotly'),
4+
d3 = require('d3');
55

6-
var contour = module.exports = {},
7-
Plotly = require('./plotly');
6+
var contour = module.exports = {};
87

98
Plotly.Plots.register(contour, 'contour',
109
['cartesian', '2dMap', 'contour'], {

0 commit comments

Comments
 (0)