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 authored and Dave Page committed 2017-07-18 15:13:17 +01:00
1 parent d04ac7656a
commit 4a91bcde30
406 files changed
+3556 -164707

No files matched your search

@@ -1,5 +1,6 @@
define([
'sources/gettext', 'underscore', 'underscore.string', 'jquery', 'pgadmin.browser', 'backgrid',
define('misc.statistics', [
'sources/gettext', 'underscore', 'underscore.string', 'jquery',
'pgadmin.browser', 'backgrid',
'alertify', 'sources/size_prettify'
], function(gettext, _, S, $, pgBrowser, Backgrid, Alertify, sizePrettify) {
@@ -350,7 +351,7 @@ define([
__createSingleLineStatistics: function(data, prettifyFields) {
var row = data['rows'][0],
columns = data['columns']
columns = data['columns'],
res = [];
this.columns = this.statistic_columns;