-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
47 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/** | ||
* Copyright 2012-2016, 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'; | ||
|
||
/* | ||
* This file is browserify'ed into a standalone 'Plotly' object. | ||
*/ | ||
|
||
var Core = require('./core'); | ||
|
||
// Load all trace modules | ||
Core.register([ | ||
require('./bar'), | ||
require('./box'), | ||
require('./heatmap'), | ||
require('./histogram'), | ||
require('./histogram2d'), | ||
require('./histogram2dcontour'), | ||
require('./pie'), | ||
require('./contour'), | ||
require('./scatter3d'), | ||
require('./surface'), | ||
require('./mesh3d'), | ||
require('./scattergeo'), | ||
require('./choropleth'), | ||
require('./scattergl') | ||
]); | ||
|
||
module.exports = Core; |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ var pkg = require('../../package.json'); | |
|
||
var pathToRoot = path.join(__dirname, '../../'); | ||
var pathToSrc = path.join(pathToRoot, 'src/'); | ||
var pathToLib = path.join(pathToRoot, 'lib/'); | ||
var pathToImageTest = path.join(pathToRoot, 'test/image'); | ||
var pathToDist = path.join(pathToRoot, 'dist/'); | ||
var pathToBuild = path.join(pathToRoot, 'build/'); | ||
|
@@ -17,8 +18,9 @@ var year = (new Date()).getFullYear(); | |
module.exports = { | ||
pathToRoot: pathToRoot, | ||
pathToSrc: pathToSrc, | ||
pathToLib: pathToLib, | ||
|
||
pathToPlotlySrc: path.join(pathToSrc, 'index.js'), | ||
pathToPlotlySrc: path.join(pathToLib, 'index.js'), | ||
This comment has been minimized.
Sorry, something went wrong.
etpinard
Contributor
|
||
pathToPlotlyCore: path.join(pathToSrc, 'core.js'), | ||
pathToPlotlyBuild: path.join(pathToBuild, 'plotly.js'), | ||
pathToPlotlyDist: path.join(pathToDist, 'plotly.js'), | ||
|
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
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
Right. Let webpack users minified their own bundle.