Re: Is polyfilling future web APIs a good idea?

2015-08-06 Thread Matthew Robb
'Prolly' is a slang term for probably... At least in the US it is. On Aug 5, 2015 11:00 PM, Glen Huang curvedm...@gmail.com wrote: Thanks for the detailed explanation. The only thing I'm not sure I understand is the pattern you described: ``` HTMLElement.prototype.foo =

Re: Imperative API for Node Distribution in Shadow DOM (Revisited)

2015-04-27 Thread Matthew Robb
I know this isn't the biggest deal but I think naming the function distribute is highly suggestive, why not just expose this as `childListChangedCallback` ? - Matthew Robb On Mon, Apr 27, 2015 at 4:34 AM, Anne van Kesteren ann...@annevk.nl wrote: On Mon, Apr 27, 2015 at 10:23 AM, Justin

Re: JSON imports?

2015-04-17 Thread Matthew Robb
I like the idea of this. It reminds me of polymer's core-ajax component. On Apr 16, 2015 11:39 PM, Glen Huang curvedm...@gmail.com wrote: Inspired by HTML imports, can we add JSON imports too? ```html script type=application/json src=foo.json id=foo/script script type=application/json id=bar

Re: Standardising canvas-driven background images

2015-02-20 Thread Matthew Robb
On Fri, Feb 20, 2015 at 2:25 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Images level 4 ​If/when that spec reappears it would be great if you could reply to this thread with a link or something... Thanks!​ - Matthew Robb

Re: Standardising canvas-driven background images

2015-02-20 Thread Matthew Robb
able to use any arbitrary element as the background of another element (-moz-element() ) but I understand that is probably less likely. In any case +1 this! - Matthew Robb On Fri, Feb 20, 2015 at 10:51 AM, Ashley Gullen ash...@scirra.com wrote: Forgive me if I've missed past discussion

Re: [Custom]: Rename createdCallback to created

2014-10-06 Thread Matthew Robb
I feel like they are more like Lifecycle Hooks or Lifecycle Phases... So naming would make more sense as createdPhase or createdHook - Matthew Robb On Mon, Oct 6, 2014 at 11:08 AM, Jarek Foksa ja...@foksa.name wrote: On 2014-10-06, at 12:32, Takayoshi Kochi (河内 隆仁) ko...@google.com wrote

Re: XMLHttpRequest: uppercasing method names

2014-09-09 Thread Matthew Robb
I think it would be super useful if there were some standard built in functions for selecting properties. I would benefit greatly from being able to look up a prop with case insensitivity. I guess you COULD do this with proxies but I have to imagine it could be done faster if built in. It