aboutsummaryrefslogtreecommitdiff
path: root/js/io
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-08-22 10:31:02 -0700
committerJose Antonio Marquez2012-08-22 10:31:02 -0700
commita1d70077b5f1fafc965b4325283f29b08264c418 (patch)
tree8fe339a29626aaf3bb0ba7f86f78eead4da51a8a /js/io
parent99b2263a2ccb0d1fa99ac01f828e8fa1465d4c02 (diff)
downloadninja-a1d70077b5f1fafc965b4325283f29b08264c418.tar.gz
Update: Cleaning up
Diffstat (limited to 'js/io')
-rw-r--r--js/io/system/chromeapi.js2
1 files changed, 1 insertions, 1 deletions
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, {
96 // 96 //
97 f.createWriter(function(writer) { 97 f.createWriter(function(writer) {
98 // 98 //
99 var mime, blob, type = filePath.split('.'), version = parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1], 10); 99 var mime, blob, type = filePath.split('.'); //version = parseInt(window.navigator.appVersion.match(/Chrome\/(\d+)\./)[1], 10);
100 type = type[type.length-1]; 100 type = type[type.length-1];
101 switch (type) { 101 switch (type) {
102 case 'bmp': 102 case 'bmp':