Open MarcGodard opened 5 years ago
@MarcGodard Any chance you have a runnable code example or could make one (CodePen, etc.)?
@chasenlehara I have never made a codePen for canjs. You have an example? I am a donejs user.
Much of the canjs site has been updated to run examples in codepen. I’d look here for a stache/component example you can start from: https://canjs.com/doc/guides/html.html
Can-stache’s docs also have codepens too
The Setting Up CanJS page also has a starter CodePen (click on the Edit on CodePen button in the top right of the embedded pen): https://canjs.com/doc/guides/setup.html#OnlineCodeEditors
How often can you reproduce it?
Description:
Passing a variable of type boolean to an adHelper function causes errors.
Steps to reproduce:
Create a model with variable type boolean. Populate model. Create an addHelper function. Loop over model list while passing values to an addHelper (haven't tested without the loop).
with
Error:
Expected results:
Should cast the type boolean and work :)
Actual results:
The error above.
Environment: