blob: 5257453edab480388eaa4b877697901896040289 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
odoo.define('web.Bus', function (require) {
"use strict";
var Class = require('web.Class');
var mixins = require('web.mixins');
/**
* Event Bus used to bind events scoped in the current instance
*
* @class Bus
*/
return Class.extend(mixins.EventDispatcherMixin, {
init: function (parent) {
mixins.EventDispatcherMixin.init.call(this);
this.setParent(parent);
},
});
});
|