| changeset 328 | 3e69a85d73e9 |
| parent 327 | 239d372644a0 |
| child 435 | e529b633c339 |
--- a/client/js/renderer/shapebuilder.js Wed Sep 10 16:12:07 2014 +0200 +++ b/client/js/renderer/shapebuilder.js Wed Sep 10 16:16:54 2014 +0200 @@ -66,7 +66,7 @@ // No calcul for the moment return new paper.Path(); } - } + }; } }; @@ -74,8 +74,8 @@ if(typeof shape==="undefined"){ shape = "circle"; } - if(shape.substr(0,4)=="svg:"){ - return builders["svg"](shape.substr(4)); + if(shape.substr(0,4)==="svg:"){ + return builders.svg(shape.substr(4)); } if(!(shape in builders)){ shape = "circle";