From e3f60ba2e860acae98b816ad27d9b31f08d2d64b Mon Sep 17 00:00:00 2001 From: Tom Blauwendraat Date: Wed, 5 Dec 2018 07:19:35 +0100 Subject: [PATCH] fixup! [FIX] linting --- web_timeline/static/src/js/web_timeline.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web_timeline/static/src/js/web_timeline.js b/web_timeline/static/src/js/web_timeline.js index 527ba809..fe689750 100644 --- a/web_timeline/static/src/js/web_timeline.js +++ b/web_timeline/static/src/js/web_timeline.js @@ -17,13 +17,14 @@ _.str.toBoolElse = function (str, elseValues, trueValues, falseValues) { return ret; }; +window.moment = vis.moment; + openerp.web_timeline = function (instance) { 'use strict'; var Model = instance.web.Model; var str_to_datetime = instance.str_to_datetime; var _t = instance.web._t, _lt = instance.web._lt; - var moment = vis.moment; function isNullOrUndef (value) { return _.isUndefined(value) || _.isNull(value);