These are chat archives for canjs/canjs

20th
Sep 2017
qantourisc
@qantourisc
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
@bmomberger-bitovi
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
@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...