Merge pull request #763 from andreywix/master
Changes representation of empty list in Collage
commitdb5a292182feca60e6f0d86e37fc51d3aac13128
authorEvan Czaplicki <info@elm-lang.org>
dateFri 22 Aug 2014, 11:25 (12 years ago)
parentf9d497d6c1e3c3
runtime/Render/Collage.js+1−1
@@ -21,7 +21,7 @@ function trace(ctx, path) {
2121}
2222
2323function line(ctx,style,path) {
24− style.dashing.ctor === 'Nil' ? trace(ctx, path) : customLineHelp(ctx, style, path);
24+ style.dashing.ctor === '[]' ? trace(ctx, path) : customLineHelp(ctx, style, path);
2525 ctx.scale(1,-1);
2626 ctx.stroke();
2727}