Re: [webcomponents] Binding Custom Element without Polluting Global Scope (Was Proposal for Cross Origin Use Case and Declarative Syntax)

2014-02-06 Thread Ryosuke Niwa
On Dec 7, 2013, at 3:25 PM, Dominic Cooney wrote: > On Sat, Dec 7, 2013 at 10:06 AM, Ryosuke Niwa wrote: > On Dec 6, 2013, at 5:01 PM, Ryosuke Niwa wrote: >> On Dec 6, 2013, at 1:20 AM, Brian Di Palma wrote: >>> On Fri, Dec 6, 2013 at 3:24 AM, Ryosuke Niwa wrote: On Nov 12, 2013, at 12:45

Re: [webcomponents] Binding Custom Element without Polluting Global Scope (Was Proposal for Cross Origin Use Case and Declarative Syntax)

2013-12-07 Thread Dominic Cooney
On Sat, Dec 7, 2013 at 10:06 AM, Ryosuke Niwa wrote: > On Dec 6, 2013, at 5:01 PM, Ryosuke Niwa wrote: > > On Dec 6, 2013, at 1:20 AM, Brian Di Palma wrote: > > On Fri, Dec 6, 2013 at 3:24 AM, Ryosuke Niwa wrote: > > On Nov 12, 2013, at 12:45 AM, Ryosuke Niwa wrote: > > On Nov 12, 2013, at 8:

Re: [webcomponents] Binding Custom Element without Polluting Global Scope (Was Proposal for Cross Origin Use Case and Declarative Syntax)

2013-12-07 Thread Brian Di Palma
On Sat, Dec 7, 2013 at 1:01 AM, Ryosuke Niwa wrote: > On Dec 6, 2013, at 1:20 AM, Brian Di Palma wrote: >> On Fri, Dec 6, 2013 at 3:24 AM, Ryosuke Niwa wrote: >>> On Nov 12, 2013, at 12:45 AM, Ryosuke Niwa wrote: >>> >>> On Nov 12, 2013, at 8:12 AM, Dimitri Glazkov wrote: >>> >>> 1) It is not

Re: [webcomponents] Binding Custom Element without Polluting Global Scope (Was Proposal for Cross Origin Use Case and Declarative Syntax)

2013-12-06 Thread Ryosuke Niwa
On Dec 6, 2013, at 5:01 PM, Ryosuke Niwa wrote: > On Dec 6, 2013, at 1:20 AM, Brian Di Palma wrote: >> On Fri, Dec 6, 2013 at 3:24 AM, Ryosuke Niwa wrote: >>> On Nov 12, 2013, at 12:45 AM, Ryosuke Niwa wrote: >>> >>> On Nov 12, 2013, at 8:12 AM, Dimitri Glazkov wrote: >>> >>> 1) It is not f

Re: [webcomponents] Binding Custom Element without Polluting Global Scope (Was Proposal for Cross Origin Use Case and Declarative Syntax)

2013-12-06 Thread Ryosuke Niwa
On Dec 6, 2013, at 1:20 AM, Brian Di Palma wrote: > On Fri, Dec 6, 2013 at 3:24 AM, Ryosuke Niwa wrote: >> On Nov 12, 2013, at 12:45 AM, Ryosuke Niwa wrote: >> >> On Nov 12, 2013, at 8:12 AM, Dimitri Glazkov wrote: >> >> 1) It is not friendly to ES6 classes. In fact, you can't use class synta

Re: [webcomponents] Binding Custom Element without Polluting Global Scope (Was Proposal for Cross Origin Use Case and Declarative Syntax)

2013-12-06 Thread Brian Di Palma
On Fri, Dec 6, 2013 at 3:24 AM, Ryosuke Niwa wrote: > On Nov 12, 2013, at 12:45 AM, Ryosuke Niwa wrote: > > On Nov 12, 2013, at 8:12 AM, Dimitri Glazkov wrote: > > 1) It is not friendly to ES6 classes. In fact, you can't use class syntax > and this syntax together. > > > Okay, let the author def

[webcomponents] Binding Custom Element without Polluting Global Scope (Was Proposal for Cross Origin Use Case and Declarative Syntax)

2013-12-05 Thread Ryosuke Niwa
On Nov 12, 2013, at 12:45 AM, Ryosuke Niwa wrote: > On Nov 12, 2013, at 8:12 AM, Dimitri Glazkov wrote: >> 1) It is not friendly to ES6 classes. In fact, you can't use class syntax >> and this syntax together. Okay, let the author define the constructor. >> 3) The approach pollutes global name