Webpack all the things! Fixes #2135

This significantly speeds up loading of the application; in an average of 3 tests, v1.6
loaded in 11.5s in the runtime on a Mac, whilst the webpacked version of the code
loaded in 5.53s.
This commit is contained in:
Surinder Kumar
2017-07-18 15:13:16 +01:00
committed by Dave Page
parent d04ac7656a
commit 4a91bcde30
406 changed files with 3556 additions and 164707 deletions

View File

@@ -50,7 +50,6 @@ define(['sources/gettext', 'alertify'], function (gettext, alertify) {
* called for each copy operation performed on any input/textarea from
* this document.
*/
document.removeEventListener('copy', arguments.callee);
var clipboardData = e.clipboardData || window.clipboardData;

View File

@@ -7,7 +7,7 @@ define([
],
function ($, _, clipboard, RangeSelectionHelper, rangeBoundaryNavigator) {
var copyData = function () {
var self = this;
var self = this || window;
var grid = self.slickgrid;
var columnDefinitions = grid.getColumns();