Make src/xterm.js ES2015 and export EventEmitter into its own file
Fix #158
This commit is contained in:
@@ -15,7 +15,7 @@ describe('CompositionHelper', function () {
|
||||
remove: function () {},
|
||||
},
|
||||
getBoundingClientRect: function () {
|
||||
return { width: 0 }
|
||||
return { width: 0 };
|
||||
},
|
||||
style: {
|
||||
left: 0,
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ describe('Viewport', function () {
|
||||
var viewportElement;
|
||||
var charMeasureElement;
|
||||
var viewport;
|
||||
var scrollAreaElement;
|
||||
|
||||
var CHARACTER_HEIGHT = 10;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user