These are chat archives for canjs/canjs

Apr 2015
Justin Meyer
Apr 04 2015 04:25
@dylanrtt you can only overwrite
but you can probably get the original function
and run it yourself
can.view.attr("can-click") -> callback
Apr 04 2015 04:26
yeah I just tried it and it works. thanks
Justin Meyer
Apr 04 2015 04:27
well, I was just about to say it might be a bit more complex if you really want to overload
you probably have to remove the old one from can.view.callbacks._regExpAttributes
b/c it looks like can.view.attr will give you back the first match
@/all here's a cool jsbin for 2.2: