From a1d70077b5f1fafc965b4325283f29b08264c418 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Wed, 22 Aug 2012 10:31:02 -0700 Subject: Update: Cleaning up --- js/io/system/chromeapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/io') diff --git a/js/io/system/chromeapi.js b/js/io/system/chromeapi.js index f9ab2d12..ba0ed3f4 100644 --- a/js/io/system/chromeapi.js +++ b/js/io/system/chromeapi.js @@ -96,7 +96,7 @@ exports.ChromeApi = Montage.create(Object.prototype, { // f.createWriter(function(writer) { // - var mime, blob, type = filePath.split('.'), version = parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1], 10); + var mime, blob, type = filePath.split('.'); //version = parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1], 10); type = type[type.length-1]; switch (type) { case 'bmp': -- cgit v1.2.3