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
Showing
app/assets/javascripts/blob/sketch/index.js
0 → 100644
app/assets/javascripts/blob/sketch_viewer.js
0 → 100644
app/views/projects/blob/_sketch.html.haml
0 → 100644
... | ... | @@ -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", | ||
... | ... |
spec/javascripts/blob/sketch/index_spec.js
0 → 100644
Please
register
or
sign in
to comment