These are chat archives for canjs/canjs

8th
Sep 2015
David Luecke
@daffl
Sep 08 2015 15:16
I don't see a reason not to include a module loader into any project of any size. Just using npm install <package> and then using require('package') is so much less of a hassle than the mess with script tags.
neelbhat88
@neelbhat88
Sep 08 2015 23:52
Hi guys - I was wondering how to intercept all AJAX responses in CanJS. I want to intercept all responses and perform a certain action based on the status (i.e. 401 would redirect me to our login page, etc). Is that possible in Can? Thanks for the help!