diff --git a/Gruntfile.js b/Gruntfile.js index a95968bd2d..7536e0bdc2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -194,7 +194,7 @@ module.exports = function(grunt) { grunt.registerTask("dist-compile", ["test", "uglify", "compress"]); grunt.registerTask("commitjs", ["dist-compile", "gitcommit:built"]); - grunt.registerTask("default", ["npm run start"]); + grunt.registerTask("default", ["exec:npm:start"]); grunt.registerTask("test", ["dev-compile", "test-local"]); grunt.registerTask("test-local", ["blanket_mocha", "lint"]); diff --git a/package.json b/package.json index b03e6c1d81..728ec6873e 100644 --- a/package.json +++ b/package.json @@ -15,9 +15,10 @@ "build:tsc": "tsc -p test/", "build:webpack": "webpack --config webpack.config.js", "check_version": "echo ${npm_package_version} $(npm view ${npm_package_name} version) | awk '{ if ($1 == $2) { exit 1 }}'", - "start": "npm-run-all -p watch:watch-tsc watch:watch-quicktests webpack-dev-server", + "start": "npm-run-all -p start:watch-tsc start:watch-quicktests start:webpack-dev-server", "start:watch-quicktests": "grunt watch-quicktests", "start:watch-tsc": "tsc -w -p test/", + "start:webpack-dev-server": "webpack-dev-server", "test": "grunt test-travis" }, "devDependencies": { @@ -56,7 +57,8 @@ "tslint": "3.15.1", "typescript": "2.0.6", "webpack": "2.2.1", - "webpack-dev-server": "2.3.0" + "webpack-dev-server": "2.3.0", + "write-file-webpack-plugin": "3.4.2" }, "dependencies": { "d3": "^3.5.16", diff --git a/plottable.js b/plottable.js index c4b05be446..f6e8700d74 100644 --- a/plottable.js +++ b/plottable.js @@ -86,10 +86,10 @@ return /******/ (function(modules) { // webpackBootstrap /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; @@ -124,10 +124,10 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_1__; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; @@ -161,10 +161,10 @@ exports.isTransformable = isTransformable; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -682,10 +682,10 @@ __export(__webpack_require__(111)); /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var d3 = __webpack_require__(1); var RenderController = __webpack_require__(24); @@ -1238,10 +1238,10 @@ exports.Component = Component; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; @@ -1255,10 +1255,10 @@ __export(__webpack_require__(50)); /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var d3 = __webpack_require__(1); var Utils = __webpack_require__(0); @@ -1400,10 +1400,10 @@ exports.Drawer = Drawer; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var d3 = __webpack_require__(1); /** @@ -1644,10 +1644,10 @@ function verifyPrecision(precision) { /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; @@ -1666,10 +1666,10 @@ __export(__webpack_require__(71)); /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -1936,10 +1936,10 @@ exports.QuantitativeScale = QuantitativeScale; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; @@ -1954,10 +1954,10 @@ __export(__webpack_require__(64)); /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var Interaction = (function () { function Interaction() { @@ -2077,10 +2077,10 @@ __export(__webpack_require__(108)); /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; @@ -2098,10 +2098,10 @@ __export(__webpack_require__(76)); /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -2463,10 +2463,10 @@ exports.XYPlot = XYPlot; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; @@ -2490,10 +2490,10 @@ __export(__webpack_require__(84)); /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var Utils = __webpack_require__(0); var Scale = (function () { @@ -2647,10 +2647,10 @@ exports.Scale = Scale; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -3282,10 +3282,10 @@ exports.Axis = Axis; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ /** * Specifies if Plottable should show warnings. @@ -3302,10 +3302,10 @@ exports.ADD_TITLE_ELEMENTS = true; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var Utils = __webpack_require__(0); var Dispatcher = (function () { @@ -3377,10 +3377,10 @@ exports.Dispatcher = Dispatcher; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -4016,10 +4016,10 @@ exports.Bar = Bar; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -4550,10 +4550,10 @@ exports.Time = Time; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -4639,10 +4639,10 @@ exports.ComponentContainer = ComponentContainer; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var Utils = __webpack_require__(0); var RenderPolicies = __webpack_require__(30); @@ -4773,10 +4773,10 @@ exports.flush = flush; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var d3 = __webpack_require__(1); function circle() { @@ -4810,10 +4810,10 @@ exports.triangleDown = triangleDown; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -5193,10 +5193,10 @@ exports.DragBoxLayer = DragBoxLayer; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var d3 = __webpack_require__(1); var nativeMath = window.Math; @@ -5401,10 +5401,10 @@ exports.BaseAnimator = BaseAnimator; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; @@ -5440,10 +5440,10 @@ exports.Alignment = Alignment; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var Utils = __webpack_require__(0); var RenderController = __webpack_require__(24); @@ -5495,10 +5495,10 @@ exports.Timeout = Timeout; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -5621,10 +5621,10 @@ exports.Key = Key; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -5725,10 +5725,10 @@ exports.Group = Group; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -5881,10 +5881,10 @@ exports.GuideLineLayer = GuideLineLayer; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -6110,10 +6110,10 @@ exports.SelectionBoxLayer = SelectionBoxLayer; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -6302,10 +6302,10 @@ exports.Area = Area; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var Animator; (function (Animator) { @@ -6319,10 +6319,10 @@ var Animator; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -6770,10 +6770,10 @@ exports.Line = Line; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -6930,10 +6930,10 @@ exports.Category = Category; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var d3 = __webpack_require__(1); var nativeMath = window.Math; @@ -7136,10 +7136,10 @@ function _parseStyleValue(style, property) { /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ /** * Shim for ES6 set. @@ -7647,10 +7647,10 @@ exports.Wrapper = Wrapper; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; @@ -7665,10 +7665,10 @@ __export(__webpack_require__(22)); /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var Utils = __webpack_require__(0); var Dataset = (function () { @@ -7737,10 +7737,10 @@ exports.Dataset = Dataset; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ exports.version = "2.9.1"; @@ -7750,10 +7750,10 @@ exports.version = "2.9.1"; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ /** * An Animator with easing and configurable durations and delays. @@ -7869,10 +7869,10 @@ exports.Easing = Easing; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ /** * An animator implementation with no animation. The attributes are @@ -7897,10 +7897,10 @@ exports.Null = Null; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -8246,10 +8246,10 @@ exports.Category = Category; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -8552,10 +8552,10 @@ exports.Numeric = Numeric; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -8741,10 +8741,10 @@ exports.DragLineLayer = DragLineLayer; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -8851,10 +8851,10 @@ exports.Gridlines = Gridlines; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -9110,10 +9110,10 @@ exports.InterpolatedColorLegend = InterpolatedColorLegend; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -9272,10 +9272,10 @@ exports.AxisLabel = AxisLabel; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -9772,10 +9772,10 @@ exports.Legend = Legend; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -9829,10 +9829,10 @@ exports.PlotGroup = PlotGroup; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -10228,10 +10228,10 @@ exports.Table = Table; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -10294,10 +10294,10 @@ exports.XDragBoxLayer = XDragBoxLayer; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -10360,10 +10360,10 @@ exports.YDragBoxLayer = YDragBoxLayer; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -10456,10 +10456,10 @@ exports.Key = Key; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -10656,10 +10656,10 @@ exports.Mouse = Mouse; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -10832,10 +10832,10 @@ exports.Touch = Touch; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -10864,10 +10864,10 @@ exports.Arc = Arc; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -10896,10 +10896,10 @@ exports.ArcOutline = ArcOutline; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -10932,10 +10932,10 @@ exports.Area = Area; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -10968,10 +10968,10 @@ exports.Line = Line; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -10995,10 +10995,10 @@ exports.Rectangle = Rectangle; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -11022,10 +11022,10 @@ exports.Segment = Segment; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -11050,10 +11050,10 @@ exports.Symbol = Symbol; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -11139,10 +11139,10 @@ exports.Click = Click; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -11258,10 +11258,10 @@ exports.DoubleClick = DoubleClick; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -11423,10 +11423,10 @@ exports.Drag = Drag; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -11981,10 +11981,10 @@ exports.PanZoom = PanZoom; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -12112,10 +12112,10 @@ exports.Pointer = Pointer; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -12185,10 +12185,10 @@ exports.ClusteredBar = ClusteredBar; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -12681,10 +12681,10 @@ exports.Pie = Pie; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -13047,10 +13047,10 @@ exports.Rectangle = Rectangle; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -13225,10 +13225,10 @@ exports.Scatter = Scatter; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -13423,10 +13423,10 @@ exports.Segment = Segment; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -13626,10 +13626,10 @@ exports.StackedArea = StackedArea; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -13834,10 +13834,10 @@ exports.StackedBar = StackedBar; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -14045,10 +14045,10 @@ exports.Waterfall = Waterfall; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -14176,10 +14176,10 @@ exports.Color = Color; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -14342,10 +14342,10 @@ exports.InterpolatedColor = InterpolatedColor; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -14421,10 +14421,10 @@ exports.Linear = Linear; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -14645,10 +14645,10 @@ exports.ModifiedLog = ModifiedLog; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var Utils = __webpack_require__(0); /** @@ -14695,10 +14695,10 @@ exports.integerTickGenerator = integerTickGenerator; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -14830,10 +14830,10 @@ exports.Time = Time; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var d3 = __webpack_require__(1); var nativeArray = window.Array; @@ -14900,10 +14900,10 @@ exports.createFilledArray = createFilledArray; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; @@ -14942,10 +14942,10 @@ exports.CallbackSet = CallbackSet; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var DOM = __webpack_require__(39); var ClientToSVGTranslator = (function () { @@ -15020,10 +15020,10 @@ exports.ClientToSVGTranslator = ClientToSVGTranslator; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var d3 = __webpack_require__(1); var nativeMath = window.Math; @@ -15103,10 +15103,10 @@ function luminance(color) { /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var Math = __webpack_require__(27); /** @@ -15157,10 +15157,10 @@ exports.EntityArray = EntityArray; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var Math = __webpack_require__(27); /** @@ -15248,10 +15248,10 @@ exports.Map = Map; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var d3 = __webpack_require__(1); var Utils = __webpack_require__(0); @@ -15373,10 +15373,10 @@ exports.normalizeKey = normalizeKey; /***/ (function(module, exports, __webpack_require__) { "use strict"; -/* -Copyright 2014-present Palantir Technologies -Licensed under MIT (https://github.com/palantir/plottable/blob/master/LICENSE) -*/ +/** + * Copyright 2014-present Palantir Technologies + * @license MIT + */ var Configs = __webpack_require__(19); /** diff --git a/webpack.config.js b/webpack.config.js index 7a076a5675..832f72a381 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,5 +1,6 @@ var path = require("path"); var webpack = require("webpack"); +var WriteFilePlugin = require("write-file-webpack-plugin"); var packageJson = require("./package.json"); var LICENSE_HEADER = @@ -20,7 +21,8 @@ module.exports = [ devtool: "source-map", devServer: { compress: true, - port: 9999 + port: 9999, + inline: false }, entry: "./build/test/index.js", output: { @@ -109,7 +111,8 @@ module.exports = [ }), new webpack.DefinePlugin({ "__VERSION__": JSON.stringify(packageJson.version) - }) + }), + new WriteFilePlugin() ] } -] +];