Debian Codegraph @

mixmark-io-domino/lib/UIEvent.js

raw symbols SCIP
1 "use strict";
2 var Event = require('./Event');
3
4 module.exports = UIEvent;
5
6 function UIEvent() {
7 // Just use the superclass constructor to initialize
8 Event.call(this);
9 this.view = null; // FF uses the current window
10 this.detail = 0;
11 }
12 UIEvent.prototype = Object.create(Event.prototype, {
13 constructor: { value: UIEvent },
14 initUIEvent: { value: function(type, bubbles, cancelable, view, detail) {
15 this.initEvent(type, bubbles, cancelable);
16 this.view = view;
17 this.detail = detail;
18 }}
19 });