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
@@ -15,7 +15,7 @@ describe('CompositionHelper', function () {
remove: function () {},
},
getBoundingClientRect: function () {
return { width: 0 }
return { width: 0 };
},
style: {
left: 0,
+1 -1
View File
@@ -27,7 +27,7 @@ function pty_write_read(s) {
return b.toString('utf8', 0, bytes);
}
// make sure raw pty is at x=0 and has no pending data
// make sure raw pty is at x=0 and has no pending data
function pty_reset() {
pty_write_read('\r\n');
}
+1
View File
@@ -6,6 +6,7 @@ describe('Viewport', function () {
var viewportElement;
var charMeasureElement;
var viewport;
var scrollAreaElement;
var CHARACTER_HEIGHT = 10;