diff options
Diffstat (limited to 'addons/web/static/src/js/core/context.js')
| -rw-r--r-- | addons/web/static/src/js/core/context.js | 6 |
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 +}); |
