These are chat archives for canjs/canjs

24th
Sep 2015
Justin Meyer
@justinbmeyer
Sep 24 2015 02:09
@/all I am now leaning to:
{foo}=“bar”   //p to c
{^foo}=“bar”  //c to p
{(foo)}=“bar” // 2 way
(foo)=“bar”   // binding
the main reason is I think [] will be important for use cases like:
([eventType])=“doSomething()
where the eventType can be dynamically defined
Ilya Fadeev
@ilyavf
Sep 24 2015 02:15
if we could just break through the fear of using a mustache character then "D" variant would be the most elegant, less verbose, and easily introduceable (like, here are two new operands "{=" and "}=" for p-c and c-p bindings) ...
Andrei Balmus
@abalmush
Sep 24 2015 07:10
@abalmush you should try stealjs.com, no build needed.
Yes, I love steal.js I use it on another projects, but this project needs some additional functionality only, I’ll try to examine if it's no big deal to move to steal.js (it’s very old project www.ghdhair.com)
Andrei Balmus
@abalmush
Sep 24 2015 07:16
How about:
<show-plate plate-name{c}="*selectedDriver" /> 
<show-plate plate-name{p}="*selectedDriver" /> 
<show-plate plate-name{cp}="*selectedDriver" />
Marshall Thompson
@marshallswain
Sep 24 2015 18:13

<show-plate plate-name◀️="*selectedDriver" />

<show-plate plate-name▶️="*selectedDriver" />

<show-plate plate-name◀️▶️="*selectedDriver" />

Matthew Phillips
@matthewp
Sep 24 2015 19:16
haha
I propose 🐱 for two-way binding
Andrei Balmus
@abalmush
Sep 24 2015 19:32
LOL :smile:
Justin Love
@JustinLove
Sep 24 2015 19:50
<show-plate plate-name(╯°□°)╯︵ ┻━┻="*selectedDriver" />