On Tue, May 29, 2012 at 11:03 AM, Brendan Eich <[email protected]> wrote: > Fair points so far, and why Dave Herman proposed using = and ; separation > for a "fluent style" chaining extension: > > obj.{ > prop1 = val1; > ... > propN = valN; > }; > > Dave's proposal (which I can't find atm, it may be in a gist) also supports > method calling with obj as |this|, a la JQuery chaining style but without > requiring the methods to all return |this|.
http://code.google.com/p/traceur-compiler/source/browse/#git%2Ftest%2Ffeature%2FCascade -- erik _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

