diff options
| author | Gubolin <gubolin@fantasymail.de> | 2014-08-03 17:27:53 +0200 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2014-08-03 17:27:53 +0200 |
| commit | ecbf52924e6319d2714f93af65e866d49c1e18c6 (patch) | |
| tree | fa27f77f2cebc4c0b46415127ed4e3ddf1cb802e /gui.js | |
| parent | ac76419568d2e30f939ee97ef85a9c6ec886a655 (diff) | |
| download | snap-ecbf52924e6319d2714f93af65e866d49c1e18c6.tar.gz snap-ecbf52924e6319d2714f93af65e866d49c1e18c6.zip | |
integrate Snapin8r into Snap!
Diffstat (limited to 'gui.js')
| -rw-r--r-- | gui.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1566,7 +1566,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(), |
