[whatwg] CanvasRenderingContext2D with addPath, currentPath
Glenn Maynard
glenn at zewt.org
Sun Nov 3 06:22:08 PST 2013
On Sat, Nov 2, 2013 at 9:03 PM, Rik Cabanier <cabanier at gmail.com> wrote:
> > Does this mean that ctx.currentPath != ctx.currentPath?
>
> Yes
>
> > That's bad!
>
> Why would it be bad (apart from being different)?
>
It's strange to say "foo.bar.baz = 1" (ctx.currentPath.baz = 1), and for
foo.bar.baz to not be 1 the next time you look. It's also confusing if you
use it as a Map key.
--
Glenn Maynard
More information about the whatwg
mailing list