From 99b2263a2ccb0d1fa99ac01f828e8fa1465d4c02 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Russo Date: Tue, 21 Aug 2012 08:56:18 -0700 Subject: 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. --- js/io/system/chromeapi.js | 8 ++------ 1 file 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, { mime = 'text/'+type; break; } - //TODO: Remove version checking once Chrome version 22 is stable - if (version > 21) { - blob = new Blob([new Uint8Array(content)], {type: type}); - } else { - blob = new Blob([content], {type: type}); - } + // + blob = new Blob([new Uint8Array(content)], {type: type}); // writer.write(blob); // -- cgit v1.2.3