Skip to content

Commit

Permalink
- added custom ION bundle including scatter, bar, pie and geo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Burato committed Nov 25, 2016
1 parent a6f5b62 commit e5f180b
Show file tree
Hide file tree
Showing 8 changed files with 55,641 additions and 35 deletions.
28 changes: 0 additions & 28 deletions dist/plotly-cartesian.min.js

This file was deleted.

55,583 changes: 55,583 additions & 0 deletions dist/plotly-ion.js

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions dist/plotly-ion.min.js

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions lib/index-ion.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* 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.
*/

/**
* ION custom build.
*/

'use strict';

var Plotly = require('./core');

Plotly.register([
require('./bar'),
require('./pie'),
require('./scattergeo'),
require('./choropleth')
]);

module.exports = Plotly;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plotly.js",
"version": "1.20.2-d26",
"version": "1.20.2-d27",
"description": "The open source javascript graphing library that powers plotly",
"license": "MIT",
"main": "./lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/geo_assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ var saneTopojson = require('sane-topojson');


// package version injected by `npm run preprocess`
exports.version = '1.20.2-d26';
exports.version = '1.20.2-d27';

exports.topojson = saneTopojson;
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
var Plotly = require('./plotly');

// package version injected by `npm run preprocess`
exports.version = '1.20.2-d26';
exports.version = '1.20.2-d27';

// inject promise polyfill
require('es6-promise').polyfill();
Expand Down
7 changes: 3 additions & 4 deletions tasks/util/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ var partialBundleNames = [
'basic', 'cartesian', 'geo', 'gl3d', 'gl2d', 'mapbox', 'finance'
];

// aburato no need to build the whole stuff
partialBundleNames = [
'cartesian'
// aburato: no need to build the whole stuff, just our custom ION build
partialBundleNames = [
'ion'
];


var partialBundlePaths = partialBundleNames.map(function(name) {
return {
name: name,
Expand Down

0 comments on commit e5f180b

Please sign in to comment.