fixed typo and reference in attach addon

also bumped version to 0.31
This commit is contained in:
TDaglis
2015-10-22 11:33:56 +03:00
parent 9914fd9a38
commit 2fce845ea6
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -40,7 +40,7 @@
* should happen instantly or at a maximum
* frequency of 1 rendering per 10ms.
*/
exports.attach = function (term, socket, biderectional, buffered) {
exports.attach = function (term, socket, bidirectional, buffered) {
bidirectional = (typeof bidirectional == 'undefined') ? true : bidirectional;
term.socket = socket;
@@ -75,7 +75,7 @@
socket.addEventListener('message', term._getMessage);
if (bidirectional) {
this.on('data', term._sendData);
term.on('data', term._sendData);
}
socket.addEventListener('close', term.detach.bind(term, socket));
@@ -126,4 +126,4 @@
};
return exports;
});
});
+1 -1
View File
@@ -1,5 +1,5 @@
{
"name": "xterm.js",
"version": "0.30",
"version": "0.31",
"ignore": ["demo", "test", ".gitignore"]
}