summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-12-07 11:48:45 +0100
committerGubolin <gubolin@fantasymail.de>2014-12-07 11:48:45 +0100
commit368daaeb7d9cebf8589df30267508fcbef1d7392 (patch)
tree519e26d99aa43f87e93877ed9c622b42fd22eb9a /gui.js
parent8338384bf572beb06ebd12a0c9af18029e99262a (diff)
parente5eaea8d5887a12e07898b5a6aa29468a2652ae3 (diff)
downloadsnap-368daaeb7d9cebf8589df30267508fcbef1d7392.tar.gz
snap-368daaeb7d9cebf8589df30267508fcbef1d7392.zip
Merge branch 'issue_204' into development
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/gui.js b/gui.js
index 8cd9403..d6a46ee 100644
--- a/gui.js
+++ b/gui.js
@@ -1571,7 +1571,12 @@ IDE_Morph.prototype.droppedBinary = function (anArrayBuffer, name) {
myself = this,
suffix = name.substring(name.length - 3);
- if (suffix.toLowerCase() !== 'ypr') {return; }
+ if (suffix.toLowerCase() !== 'ypr') {
+ var zip = new JSZip(anArrayBuffer);
+ myself.droppedText(Snapin8r(zip));
+
+ return;
+ }
function loadYPR(buffer, lbl) {
var reader = new sb.Reader(),