Removed unused bootstrap code

This commit is contained in:
djmaze 2020-08-08 14:39:51 +02:00
parent b57b555bed
commit 4383281de6
5 changed files with 19 additions and 1719 deletions

View file

@ -72,29 +72,29 @@ Things might work in Edge 15-18, Firefox 47-62 and Chrome 54-68 due to one polyf
|js/* |1.14.0 |native |gzip 1.14 |gzip | |js/* |1.14.0 |native |gzip 1.14 |gzip |
|----------- |--------: |--------: |--------: |--------: | |----------- |--------: |--------: |--------: |--------: |
|admin.js |2.130.942 |1.210.394 | 485.481 | 298.376 | |admin.js |2.130.942 |1.210.405 | 485.481 | 297.481 |
|app.js |4.184.455 |2.954.996 | 932.725 | 691.792 | |app.js |4.184.455 |2.955.003 | 932.725 | 691.084 |
|boot.js | 671.522 | 93.585 | 169.502 | 28.382 | |boot.js | 671.522 | 93.585 | 169.502 | 28.270 |
|libs.js | 647.614 | 458.656 | 194.728 | 139.408 | |libs.js | 647.614 | 437.187 | 194.728 | 133.728 |
|polyfills.js | 325.834 | 0 | 71.825 | 0 | |polyfills.js | 325.834 | 0 | 71.825 | 0 |
|TOTAL js |7.960.367 |4.717.631 |1.854.261 |1.157.958 | |TOTAL js |7.960.367 |4.696.180 |1.854.261 |1.150.563 |
|js/min/* |1.14.0 |native |gzip 1.14 |gzip | |js/min/* |1.14.0 |native |gzip 1.14 |gzip |
|--------------- |--------: |--------: |--------: |--------: | |--------------- |--------: |--------: |--------: |--------: |
|admin.min.js | 252.147 | 156.171 | 73.657 | 44.788 | |admin.min.js | 252.147 | 156.119 | 73.657 | 44.594 |
|app.min.js | 511.202 | 384.195 |140.462 |101.677 | |app.min.js | 511.202 | 384.143 |140.462 |101.497 |
|boot.min.js | 66.007 | 11.545 | 22.567 | 4.460 | |boot.min.js | 66.007 | 11.545 | 22.567 | 4.437 |
|libs.min.js | 572.545 | 413.971 |176.720 |129.076 | |libs.min.js | 572.545 | 392.436 |176.720 |123.484 |
|polyfills.min.js | 32.452 | 0 | 11.312 | 0 | |polyfills.min.js | 32.452 | 0 | 11.312 | 0 |
|TOTAL js/min |1.434.353 | 965.882 |424.718 |280.001 | |TOTAL js/min |1.434.353 | 944.243 |424.718 |274.012 |
468.471 bytes (144.717 gzip) is not much, but it feels faster. 490.110 bytes (150.706 gzip) is not much, but it feels faster.
|css/* |1.14.0 |native | |css/* |1.14.0 |native |
|-------------- |--------: |--------: | |-------------- |--------: |--------: |
|app.css | 340.334 | 292.716 | |app.css | 340.334 | 272.858 |
|app.min.css | 274.791 | 231.956 | |app.min.css | 274.791 | 216.893 |
### PHP73 branch ### PHP73 branch

4
dev/External/ko.js vendored
View file

@ -303,11 +303,13 @@ ko.bindingHandlers.dropdownCloser = {
ko.bindingHandlers.popover = { ko.bindingHandlers.popover = {
init: function(element, fValueAccessor) { init: function(element, fValueAccessor) {
window.console.log('TODO: $(element).popover removed', element, fValueAccessor);
/*
$(element).popover(ko.unwrap(fValueAccessor())); $(element).popover(ko.unwrap(fValueAccessor()));
ko.utils.domNodeDisposal.addDisposeCallback(element, () => { ko.utils.domNodeDisposal.addDisposeCallback(element, () => {
$(element).popover('destroy'); $(element).popover('destroy');
}); });
*/
} }
}; };

View file

@ -4,7 +4,6 @@
@import "_Values.less"; @import "_Values.less";
@import "../../vendors/bootstrap/less/scaffolding.less";
@import "../../vendors/bootstrap/less/grid.less"; @import "../../vendors/bootstrap/less/grid.less";
@import "../../vendors/bootstrap/less/layouts.less"; @import "../../vendors/bootstrap/less/layouts.less";
@ -13,7 +12,6 @@
@import "../../vendors/bootstrap/less/forms.less"; @import "../../vendors/bootstrap/less/forms.less";
@import "../../vendors/bootstrap/less/tables.less"; @import "../../vendors/bootstrap/less/tables.less";
// @import "../../vendors/bootstrap/less/sprites.less";
@import "../../vendors/bootstrap/less/dropdowns.less"; @import "../../vendors/bootstrap/less/dropdowns.less";
@import "../../vendors/bootstrap/less/wells.less"; @import "../../vendors/bootstrap/less/wells.less";
@import "../../vendors/bootstrap/less/component-animations.less"; @import "../../vendors/bootstrap/less/component-animations.less";
@ -21,24 +19,12 @@
@import "../../vendors/bootstrap/less/buttons.less"; @import "../../vendors/bootstrap/less/buttons.less";
@import "../../vendors/bootstrap/less/button-groups.less"; @import "../../vendors/bootstrap/less/button-groups.less";
@import "../../vendors/bootstrap/less/alerts.less";
@import "../../vendors/bootstrap/less/navs.less"; @import "../../vendors/bootstrap/less/navs.less";
@import "../../vendors/bootstrap/less/navbar.less";
@import "../../vendors/bootstrap/less/breadcrumbs.less";
// @import "../../vendors/bootstrap/less/pagination.less";
// @import "../../vendors/bootstrap/less/pager.less";
@import "../../vendors/bootstrap/less/modals.less"; @import "../../vendors/bootstrap/less/modals.less";
@import "../../vendors/bootstrap/less/tooltip.less";
@import "../../vendors/bootstrap/less/popovers.less";
// @import "../../vendors/bootstrap/less/thumbnails.less";
@import "../../vendors/bootstrap/less/labels-badges.less"; @import "../../vendors/bootstrap/less/labels-badges.less";
@import "../../vendors/bootstrap/less/progress-bars.less";
// @import "../../vendors/bootstrap/less/accordion.less";
// @import "../../vendors/bootstrap/less/carousel.less";
// @import "../../vendors/bootstrap/less/hero-unit.less";
@import "../../vendors/bootstrap/less/utilities.less"; @import "../../vendors/bootstrap/less/utilities.less";

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long