mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 14:28:52 +00:00
AngularJS SOGo.UICommon module
This commit is contained in:
22
UI/WebServerResources/js/Common/ui-common.js
Normal file
22
UI/WebServerResources/js/Common/ui-common.js
Normal file
@@ -0,0 +1,22 @@
|
||||
/* -*- Mode: javascript; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* JavaScript for common UI services for mobile theme */
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/* Angular module instanciation */
|
||||
angular.module('SOGo.UICommon', [])
|
||||
|
||||
.filter('encodeUri', function ($window) {
|
||||
return $window.encodeURIComponent;
|
||||
})
|
||||
|
||||
.filter('decodeUri', function ($window) {
|
||||
return $window.decodeURIComponent;
|
||||
})
|
||||
|
||||
.filter('loc', function () {
|
||||
return l;
|
||||
});
|
||||
|
||||
})();
|
||||
Reference in New Issue
Block a user