aboutsummaryrefslogtreecommitdiff
path: root/js/io/system
diff options
context:
space:
mode:
authorJose Antonio Marquez Russo2012-08-21 08:56:18 -0700
committerJose Antonio Marquez Russo2012-08-21 08:56:18 -0700
commit99b2263a2ccb0d1fa99ac01f828e8fa1465d4c02 (patch)
tree6dbd5cdfd3577478c5e98e099e47dc93efb11459 /js/io/system
parent36d692a9fb216f2785a570d13c1beb27360c7305 (diff)
downloadninja-99b2263a2ccb0d1fa99ac01f828e8fa1465d4c02.tar.gz
Fix: Removing version check for blob builder
This apparently now magically started working through an update in Chrome 21, hence rendering the need for the old method useless.
Diffstat (limited to 'js/io/system')
-rw-r--r--js/io/system/chromeapi.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/js/io/system/chromeapi.js b/js/io/system/chromeapi.js
index b13dd9de..f9ab2d12 100644
--- a/js/io/system/chromeapi.js
+++ b/js/io/system/chromeapi.js
@@ -136,12 +136,8 @@ exports.ChromeApi = Montage.create(Object.prototype, {
136 mime = 'text/'+type; 136 mime = 'text/'+type;
137 break; 137 break;
138 } 138 }
139 //TODO: Remove version checking once Chrome version 22 is stable 139 //
140 if (version > 21) { 140 blob = new Blob([new Uint8Array(content)], {type: type});
141 blob = new Blob([new Uint8Array(content)], {type: type});
142 } else {
143 blob = new Blob([content], {type: type});
144 }
145 // 141 //
146 writer.write(blob); 142 writer.write(blob);
147 // 143 //