Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
295 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 |
|
---|
3 | var inherits = require('inherits')
|
---|
4 | , Event = require('./event')
|
---|
5 | ;
|
---|
6 |
|
---|
7 | function CloseEvent() {
|
---|
8 | Event.call(this);
|
---|
9 | this.initEvent('close', false, false);
|
---|
10 | this.wasClean = false;
|
---|
11 | this.code = 0;
|
---|
12 | this.reason = '';
|
---|
13 | }
|
---|
14 |
|
---|
15 | inherits(CloseEvent, Event);
|
---|
16 |
|
---|
17 | module.exports = CloseEvent;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.