mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
Improved js minification
This commit is contained in:
parent
8884adcb72
commit
b31bf3d7f5
16 changed files with 99 additions and 150 deletions
5
dev/External/Admin/ko.js
vendored
5
dev/External/Admin/ko.js
vendored
|
|
@ -1,6 +1,7 @@
|
|||
import 'External/ko';
|
||||
import ko from 'ko';
|
||||
import { SaveSettingsStep } from 'Common/Enums';
|
||||
import { pInt } from 'Common/Utils';
|
||||
import ko from 'External/ko';
|
||||
|
||||
ko.bindingHandlers.saveTrigger = {
|
||||
init: (element) => {
|
||||
|
|
@ -63,5 +64,3 @@ ko.extenders.posInterer = (target, defaultVal) => {
|
|||
ko.observable.fn.idleTrigger = function() {
|
||||
return this.extend({ 'idleTrigger': true });
|
||||
};
|
||||
|
||||
export default ko;
|
||||
|
|
|
|||
5
dev/External/User/ko.js
vendored
5
dev/External/User/ko.js
vendored
|
|
@ -1,4 +1,5 @@
|
|||
import ko from 'External/ko';
|
||||
import 'External/ko';
|
||||
import ko from 'ko';
|
||||
import { HtmlEditor } from 'Common/Html';
|
||||
import { timeToNode } from 'Common/Momentor';
|
||||
import { EmailModel } from 'Model/Email';
|
||||
|
|
@ -287,5 +288,3 @@ ko.extenders.specialThrottle = (target, timeout) => {
|
|||
|
||||
return target;
|
||||
};
|
||||
|
||||
export default ko;
|
||||
|
|
|
|||
2
dev/External/ko.js
vendored
2
dev/External/ko.js
vendored
|
|
@ -273,5 +273,3 @@ ko.addComputablesTo = (target, computables) =>
|
|||
|
||||
ko.addSubscribablesTo = (target, subscribables) =>
|
||||
Object.entries(subscribables).forEach(([key, fn]) => target[key].subscribe(fn));
|
||||
|
||||
export default ko;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue