mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 15:07:02 +03:00
browserify -> webpack
Code refactoring
This commit is contained in:
parent
542c46b654
commit
27d4bd74ad
138 changed files with 27231 additions and 32424 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
(function (module, require) {
|
||||
(function () {
|
||||
|
||||
'use strict';
|
||||
|
||||
|
|
@ -11,11 +11,11 @@
|
|||
$ = require('$'),
|
||||
ko = require('ko'),
|
||||
|
||||
Enums = require('Enums'),
|
||||
Consts = require('Consts'),
|
||||
Globals = require('Globals')
|
||||
Enums = require('Common/Enums'),
|
||||
Consts = require('Common/Consts'),
|
||||
Globals = require('Common/Globals')
|
||||
;
|
||||
|
||||
|
||||
Utils.trim = $.trim;
|
||||
Utils.inArray = $.inArray;
|
||||
Utils.isArray = _.isArray;
|
||||
|
|
@ -80,6 +80,15 @@
|
|||
return Utils.isNormal(mValue) ? '' + mValue : '';
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} sComponent
|
||||
* @return {string}
|
||||
*/
|
||||
Utils.encodeURIComponent = function (sComponent)
|
||||
{
|
||||
return window.encodeURIComponent(sComponent);
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {*} aValue
|
||||
* @return {boolean}
|
||||
|
|
@ -1929,4 +1938,4 @@
|
|||
|
||||
module.exports = Utils;
|
||||
|
||||
}(module, require));
|
||||
}());
|
||||
Loading…
Add table
Add a link
Reference in a new issue