You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect to see three buttons titled, "A Text", "B Text", and "C Text". Instead, I get a browser error:
Uncaught (in promise) ReferenceError: key is not defined
That seems to be due to Riot.js not understanding how to handle key. I think it should be replaced with scope.key. Instead, this is what turns up in the compiled template:
Suppose I have a simple loop:
With the following state:
I would expect to see three buttons titled, "A Text", "B Text", and "C Text". Instead, I get a browser error:
That seems to be due to Riot.js not understanding how to handle
key
. I think it should be replaced withscope.key
. Instead, this is what turns up in the compiled template:Interestingly enough though, if you remove the need for the
.text
property, the loop works as expected.https://next.plnkr.co/edit/1GKbFAW5FY0oabgD
Chrome on Windows
v4
The text was updated successfully, but these errors were encountered: