mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 00:45:14 +00:00
Update std.js
This commit is contained in:
parent
51389c7780
commit
f79dce48d9
12
lib/std.js
12
lib/std.js
|
@ -316,13 +316,13 @@ function StdEvent(type) {
|
||||||
this.defaultPrevented = false;
|
this.defaultPrevented = false;
|
||||||
this.timeStamp = new Date();
|
this.timeStamp = new Date();
|
||||||
this.type = type;
|
this.type = type;
|
||||||
this.isTrusted = true;
|
this.isTrusted = true;
|
||||||
this.cancelable = true;
|
this.cancelable = true;
|
||||||
this.target = null;
|
this.target = null;
|
||||||
this.currentTarget = null;
|
this.currentTarget = null;
|
||||||
this.eventPhase = StdEvent.NONE;
|
this.eventPhase = StdEvent.NONE;
|
||||||
this.bubbles = false; // Not used but to be compatible
|
this.bubbles = false; // Not used but to be compatible
|
||||||
this.composed = false; // Not used but to be compatible
|
this.composed = false; // Not used but to be compatible
|
||||||
|
|
||||||
this.preventDefault = function() {
|
this.preventDefault = function() {
|
||||||
this.defaultPrevented = true;
|
this.defaultPrevented = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user