These are chat archives for canjs/canjs

Sep 2017
Sep 20 2017 13:49
I'm not entirely sure how to deal with the removal of can.view automatic promise resolver. component.view must now contain a function that returns HTML when called correct ?
Brad Momberger
Sep 20 2017 16:01
@qantourisc that's correct. If you have a promise that you need to resolve before you can render the template properly, you can put it on the viewModel and check for isResolved or value on the promise in the stache.
Runn Vermel
Sep 20 2017 20:17
hey there! i'm wondering if anyone's has success using chai-as-promised (a plugin for chai) to use with async testing?
i'm trying to include it in my app using require or import, and running into issues...