mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-09 22:07:12 +00:00
AngularJS SOGo.UICommon module
This commit is contained in:
1 parent
d67a919ab1
commit
92ecad009e
1 file changed
+22
@@ -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