From fd8a40783d593993caa76925eae1d54e6fd95c4b Mon Sep 17 00:00:00 2001 From: Jacob Schatz Date: Wed, 29 Mar 2017 01:16:59 -0400 Subject: Load a preview of Sketch 43 files Sketch 43 files are technically a zip file, so the JavaScript opens the zip file & locates a preview.png which is just a quick preview of the last sketch page edited. After that is loaded it simply places the image into the DOM --- package.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package.json') diff --git a/package.json b/package.json index 7b6c4556e2c..2c8c4e126cd 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,8 @@ "jquery": "^2.2.1", "jquery-ujs": "^1.2.1", "js-cookie": "^2.1.3", + "jszip": "^3.1.3", + "jszip-utils": "^0.0.2", "mousetrap": "^1.4.6", "pikaday": "^1.5.1", "raphael": "^2.2.7", -- cgit v1.2.1