Make src/xterm.js ES2015 and export EventEmitter into its own file

Fix #158
This commit is contained in:
Paris Kasidiaris
2016-08-29 19:51:40 +00:00
parent 04a226f813
commit ed1a31d1cf
15 changed files with 138 additions and 112 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
/*
* Plain browser environment
*/
attach(this.Xterm);
attach(window.Terminal);
}
})(function (Xterm) {
'use strict';
+1 -1
View File
@@ -26,7 +26,7 @@
/*
* Plain browser environment
*/
fit(this.Xterm);
fit(window.Terminal);
}
})(function (Xterm) {
/**
+1 -1
View File
@@ -25,7 +25,7 @@
/*
* Plain browser environment
*/
fullscreen(this.Xterm);
fullscreen(window.Terminal);
}
})(function (Xterm) {
var exports = {};
+1 -1
View File
@@ -13,7 +13,7 @@
/*
* Plain browser environment
*/
linkify(this.Xterm);
linkify(window.Terminal);
}
})(function (Xterm) {
'use strict';