We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 121baba + 79c1570 commit 7e65f94Copy full SHA for 7e65f94
{{cookiecutter.github_project_name}}/{{cookiecutter.python_package_name}}/nbextension/static/extension.js
@@ -1,3 +1,13 @@
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/{{ cookiecutter.npm_package_name }}';
9
+
10
11
define(function() {
12
"use strict";
13
0 commit comments