Merge pull request #169 from bckmnn/dev/puppeteer

replace phantom js with puppeteer
This commit is contained in:
banglashi
2021-03-24 21:12:47 +01:00
committed by GitHub
15 changed files with 7666 additions and 172 deletions

View File

@@ -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 "";

File diff suppressed because one or more lines are too long