diff options
| author | Christophe Matthieu <chm@odoo.com> | 2016-02-09 14:42:32 +0100 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2016-02-17 09:47:45 +0100 |
| commit | 1a2b1e69dd1e634e0935ba7b3f761938f79fc134 (patch) | |
| tree | 5af94b874cfcddf268ec542889874a50d983aed4 /addons/web/static/src/js/framework | |
| parent | 8d90abc66a65c854d1186ed92f24329551ebf540 (diff) | |
[IMP] web: remove useless jQuery.timeago lib
Replace call by moment(date).fromNow()
Diffstat (limited to 'addons/web/static/src/js/framework')
| -rw-r--r-- | addons/web/static/src/js/framework/translation.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/addons/web/static/src/js/framework/translation.js b/addons/web/static/src/js/framework/translation.js index 47673756e81..69743e9787d 100644 --- a/addons/web/static/src/js/framework/translation.js +++ b/addons/web/static/src/js/framework/translation.js @@ -80,11 +80,6 @@ var _lt = function (s) { return {toString: function () { return _t(s); }}; }; -// provide timeago.js with our own translator method -if($.timeago){ // make timeago an optional dependency of translation - $.timeago.settings.translator = _t; -} - qweb.default_dict = { '_' : _, 'JSON': JSON, |
