Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/utils/platforms/default/lib/io-platform.js
diff options
context:
space:
mode:
Diffstat (limited to 'utils/platforms/default/lib/io-platform.js')
-rwxr-xr-xutils/platforms/default/lib/io-platform.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/platforms/default/lib/io-platform.js b/utils/platforms/default/lib/io-platform.js
index 46a7103..4c9c65c 100755
--- a/utils/platforms/default/lib/io-platform.js
+++ b/utils/platforms/default/lib/io-platform.js
@@ -11,10 +11,16 @@ IO.prototype.read = function(length) {
IO.prototype.write = function(object) {
this.outputStream(object);
+ return this;
}
IO.prototype.flush = function() {
+ return this;
}
IO.prototype.close = function() {
}
+
+exports.TextIOWrapper = function (raw, mode, lineBuffering, buffering, charset, options) {
+ return raw;
+}