fix contour2svg
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -10,7 +10,7 @@
|
||||
pids
|
||||
logs
|
||||
results
|
||||
|
||||
release
|
||||
npm-debug.log
|
||||
node_modules
|
||||
*.css
|
||||
|
||||
@@ -18,6 +18,10 @@ define(
|
||||
*/
|
||||
function contour2svg(contour) {
|
||||
|
||||
if (!contour.length) {
|
||||
return '';
|
||||
}
|
||||
|
||||
var pathArr = [];
|
||||
|
||||
var curPoint, prevPoint, nextPoint;
|
||||
|
||||
Reference in New Issue
Block a user