Skip to content

Commit

Permalink
Removed debugging stuff
Browse files Browse the repository at this point in the history
Bumped bower version to 0.9
  • Loading branch information
parisk committed Apr 10, 2014
1 parent 9bd2a1c commit 0b60395
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "xterm.js",
"version": "0.8",
"version": "0.9",
"ignore": ["demo", "docs", "test", ".gitignore"]
}
6 changes: 1 addition & 5 deletions src/xterm.js
Original file line number Diff line number Diff line change
Expand Up @@ -568,9 +568,7 @@ Terminal.prototype.open = function(parent) {

on(this.element, 'mouseup', function() {
var selection = document.getSelection();
if (selection.type == 'Range') {
console.log(selection);
} else {
if (selection.type != 'Range') {
self.focus();
}
});
Expand Down Expand Up @@ -2361,7 +2359,6 @@ Terminal.prototype.keyDown = function(ev) {

this.emit('keydown', ev);
this.emit('key', key, ev);
console.log('keydown');
this.showCursor();
this.handler(key);

Expand Down Expand Up @@ -2403,7 +2400,6 @@ Terminal.prototype.keyPress = function(ev) {

this.emit('keypress', key, ev);
this.emit('key', key, ev);
console.log('keypress');
this.showCursor();
this.handler(key);

Expand Down

0 comments on commit 0b60395

Please sign in to comment.