mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-15 17:37:30 +01:00
Merge pull request #169 from bckmnn/dev/puppeteer
replace phantom js with puppeteer
This commit is contained in:
@@ -23,6 +23,9 @@ function vec2_angle(v) {
|
||||
function render_vector_drawing(a, padding) {
|
||||
var shape = a.shape || "";
|
||||
var path = [];
|
||||
if(typeof a.control_points == 'string'){
|
||||
a.control_points = JSON.parse(a.control_points);
|
||||
}
|
||||
var p = a.control_points[0];
|
||||
|
||||
if (!p) return "";
|
||||
|
||||
Reference in New Issue
Block a user