summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/core/context.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-02-23 14:19:56 +0100
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commit2db5ee0f7be9f22d87fbffa72c743b3ab92bcd60 (patch)
tree69879cd269e2c5938de702147e47b1302eb88c51 /addons/web/static/src/js/core/context.js
parent3c0190d0a6c0d5ccc130fd9b685681fa9bac1de3 (diff)
[IMP] web: some more linting to follow guidelines
Diffstat (limited to 'addons/web/static/src/js/core/context.js')
-rw-r--r--addons/web/static/src/js/core/context.js6
1 files changed, 3 insertions, 3 deletions
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
+});