Batman.Object accessors with arguments

5 views
Skip to first unread message

Robert Mosolgo

unread,
Jun 27, 2014, 12:26:07 PM6/27/14
to batm...@googlegroups.com
Hi everyone, 

I recently learned that accessors can take arguments, so I wrote a short blog post about it: http://rmosolgo.github.io/blog/2014/06/27/batman-dot-js-accessors-as-methods/ 

As described there, this is HUGE for situations where you need to calculate a value based on 2 (or more) Batman.Objects and you need the value to stay updated in view bindings. It's made my life much easier :)

Here's where Justin/pushrax told me about it: https://github.com/batmanjs/batman/pull/923#issuecomment-42135061

I hope to get some proper documentation up soon, too! 

robert

Reply all
Reply to author
Forward
0 new messages