-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
add apiMethodRegistry in src/registry
- export api methods in plot_api/index.js - expose and register them in src/core.js
- Loading branch information
commit 52b83b322a23374d7b35db032d723a00dc17a1ef
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* Copyright 2012-2018, Plotly, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
var main = require('./plot_api'); | ||
|
||
exports.plot = main.plot; | ||
exports.newPlot = main.newPlot; | ||
exports.restyle = main.restyle; | ||
exports.relayout = main.relayout; | ||
exports.redraw = main.redraw; | ||
exports.update = main.update; | ||
exports.react = main.react; | ||
exports.extendTraces = main.extendTraces; | ||
exports.prependTraces = main.prependTraces; | ||
exports.addTraces = main.addTraces; | ||
exports.deleteTraces = main.deleteTraces; | ||
exports.moveTraces = main.moveTraces; | ||
exports.purge = main.purge; | ||
exports.addFrames = main.addFrames; | ||
exports.deleteFrames = main.deleteFrames; | ||
exports.animate = main.animate; | ||
|
||
exports.toImage = require('./to_image'); | ||
exports.validate = require('./validate'); | ||
exports.downloadImage = require('../snapshot/download'); |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ZERO circular dependency #2429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
ZERO circular dependency #2429
Changes from 1 commit
bee37dd
973abbc
b08c402
87275af
52b83b3
9fc8832
381b6e4
ed8d56d
204799c
2c529ec
c6df699
011443e
9246fda
d27b3ba
e05f4f0
705aed6
a851aa5
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.