From 2db5ee0f7be9f22d87fbffa72c743b3ab92bcd60 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Thu, 23 Feb 2017 14:19:56 +0100 Subject: [IMP] web: some more linting to follow guidelines --- addons/web/static/src/js/core/context.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'addons/web/static/src/js/core/context.js') diff --git a/addons/web/static/src/js/core/context.js b/addons/web/static/src/js/core/context.js index c63c9f15bd8..961c67b898a 100644 --- a/addons/web/static/src/js/core/context.js +++ b/addons/web/static/src/js/core/context.js @@ -10,7 +10,7 @@ var Context = Class.extend({ this.__contexts = []; this.__eval_context = null; var self = this; - _.each(arguments, function(x) { + _.each(arguments, function (x) { self.add(x); }); }, @@ -25,11 +25,11 @@ var Context = Class.extend({ get_eval_context: function () { return this.__eval_context; }, - eval: function() { + eval: function () { return pyeval.eval('context', this); }, }); return Context; -}); \ No newline at end of file +}); -- cgit v1.2.3