Websocket
[VSoRC/.git] / node_modules / websocket / node_modules / yaeti / lib / Event.js
diff --git a/node_modules/websocket/node_modules/yaeti/lib/Event.js b/node_modules/websocket/node_modules/yaeti/lib/Event.js
new file mode 100644 (file)
index 0000000..cd245a2
--- /dev/null
@@ -0,0 +1,13 @@
+/**
+ * Expose the Event class.
+ */
+module.exports = _Event;
+
+
+function _Event(type) {
+       this.type = type;
+       this.isTrusted = false;
+
+       // Set a flag indicating this is not a DOM Event object
+       this._yaeti = true;
+}