#65 Brace Expansion in CP


Guest Tip by:Garrick Cheung
Here’s one I just learned from reviewing my teammates pull request. It’s in the guide since 2.3.x.

Setup multiple dependent keys with brace expansion on Ember.computed properties!
The brace expansion helps watch multiple keys on the same object.
// Without brace expansion

// With brace expansion

Credits & Links

Thanks Garrick – https://twitter.com/garrickcheung

My Latest Side Project

Hire JS - Top Javascript Developers

Hire JS – Top Javascript Developers
Hey guys, I am working on a new project (built with ember of course). Please take a look at it and let me know what you think. I would greatly appreciate it if you signup and create a profile as well. Thank you and I hope I can help you will find your next ember project 🙂

Share A Tip

Email me at emad@emberdaily.tips if you have a good ember tip.
If you are enjoying my daily tips please spread the word with this one-click tweet.
If you do NOT like the tips then please reply to this email and let me know how I can improve them.

Published by

Emad Ibrahim

Author of asp .net MVC & TDD, entrepreneur, passionate technologist, programmer and productivity nut. more at http://t.co/oSJXPvzu