Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jupyter-widget] use only one endpoint (#3493)
- Loading branch information
1 parent
416544f
commit 259bedb
Showing
7 changed files
with
67 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
// Copyright (c) Uber Technologies Inc. | ||
/* global window, document */ | ||
// See https://github.com/jupyter-widgets/widget-ts-cookiecutter/blob/master/%7B%7Bcookiecutter.github_project_name%7D%7D/src/extension.ts | ||
// Copyright (c) Jupyter Development Team. | ||
// Distributed under the terms of the Modified BSD License. | ||
|
||
// Entry point for the notebook bundle containing custom model definitions. | ||
// | ||
// Setup notebook base URL | ||
// | ||
// Some static assets may be required by the custom widget javascript. The base | ||
// url for the notebook is not known at build time and is therefore computed | ||
// dynamically. | ||
// | ||
const dataBaseUrl = document.querySelector('body').getAttribute('data-base-url'); | ||
if (dataBaseUrl) { | ||
window.__webpack_public_path__ = `${dataBaseUrl}nbextensions/pydeck/nb_extension`; | ||
} | ||
|
||
export {MODULE_VERSION, MODULE_NAME} from './version'; | ||
export {DeckGLModel, DeckGLView, initDeck} from './widget'; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters