Re: CfC: Create Media Task Force

On Sun, Apr 15, 2012 at 9:01 AM, Charles Pritchard <chuck@jumis.com> wrote:

>  getContext() allowed people to develop unobtrusive JS shims for a a very
> out-of-the-ordinary web API.
>
> It was a huge help and all it cost us was a single method call. It's still
> helpful with the current experimental-webgl space.
>

As it happens, it would be easier to develop reliable shims if we had used
custom attributes instead of getContext(). It's easy for multiple shim
scripts to each add their own custom getter. It's more fragile to have
multiple shim scripts all trying to override getContext().

Rob
-- 
“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]

Received on Sunday, 15 April 2012 23:06:31 UTC