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.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/utils/platforms/default/lib/io-platform.js b/utils/platforms/default/lib/io-platform.js
deleted file mode 100755
index 4c9c65c..0000000
--- a/utils/platforms/default/lib/io-platform.js
+++ /dev/null
@@ -1,26 +0,0 @@
-// IO: default
-
-var IO = exports.IO = function(inputStream, outputStream) {
- this.inputStream = inputStream;
- this.outputStream = outputStream;
-}
-
-IO.prototype.read = function(length) {
- return this.inputStream(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;
-}