- From: Vladimir Vukicevic <vladimirv@gmail.com>
- Date: Mon, 3 Jul 2006 21:47:12 -0700
Even without using |with|, why not just create a simple JS wrapper for the context object that can have return-this or any other desired semantics? This would avoid a change that would have some apps require "canvas 2D 2.0" or some such, and require authors to do version checks to see which version of canvas is supported -- and still write "old" code for quite some time. Adding "a different way" to do the same things that can be done now without much benefit in simplicity or efficiency doesn't seem useful. Canvas supports multiple contexts for a reason; if there are compelling arguments for a complete rev of the 2D API, then a new context can be introduced to support that. - Vlad
Received on Monday, 3 July 2006 21:47:12 UTC