Skip to content

Commit b6a6f80

Browse files
committed
merge 0543793
2 parents a561275 + 0543793 commit b6a6f80

Some content is hidden

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

56 files changed

+2399
-2917
lines changed

codegen/validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,4 @@ def write_data_validator_py(outdir, base_trace_node: TraceNode):
240240
# Write file
241241
# ----------
242242
filepath = opath.join(outdir, 'validators', '_data.py')
243-
format_and_write_source_py(source, filepath)
243+
format_and_write_source_py(source, filepath)

js/package-lock.json

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,18 @@
2020
],
2121
"scripts": {
2222
"clean": "rimraf dist/ && rimraf ../plotlywidget/static",
23-
"build": "webpack",
24-
"prepublish": "npm run clean && npm run build",
23+
"prepublish": "webpack",
2524
"test": "echo \"Error: no test specified\" && exit 1"
2625
},
2726
"devDependencies": {
28-
"json-loader": "^0.5.4",
29-
"webpack": "^3.5.5",
27+
"webpack": "^3.10.0",
3028
"rimraf": "^2.6.1",
3129
"ify-loader": "^1.1.0"
3230
},
3331
"dependencies": {
3432
"plotly.js": "^1.35.2",
35-
"@jupyter-widgets/base": "^1.0.4",
36-
"lodash": "^4.0"
33+
"@jupyter-widgets/base": "^1.0.0",
34+
"lodash": "^4.17.4"
3735
},
3836
"jupyterlab": {
3937
"extension": "src/jupyterlab-plugin"

js/src/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
// Entry point for the notebook bundle containing custom model definitions.
2-
//
3-
// Setup notebook base URL
4-
//
5-
// Some static assets may be required by the custom widget javascript. The base
6-
// url for the notebook is not known at build time and is therefore computed
7-
// dynamically.
8-
__webpack_public_path__ = document.querySelector('body').getAttribute('data-base-url') + 'nbextensions/plotlywidget/';
9-
101
// Export widget models and views, and the npm package version number.
112
module.exports = require('./Figure.js');
123
module.exports['version'] = require('../package.json').version;

js/webpack.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ var version = require('./package.json').version;
55
// stored in a separate local variable.
66
var rules = [
77
{ test: /\.css$/, use: ['style-loader', 'css-loader']},
8-
{ test: /\.json$/, use: 'json-loader' },
9-
{ test: /\.js$/, use: 'ify-loader' }
8+
{ test: /\.js$/, use: ['ify-loader']}
109
];
1110

1211

0 commit comments

Comments
 (0)