I have been messing around with enyo, and am trying to populate a repeater with data from an API call. I keep getting an error in the setupWorlds function though: cannot call method 'setContent' of undefined. Please note i actually used Ares to make this. Not sure what I am doing wrong. see code below:
(removed code, see below post)
0 ·
Comments
(Fixed code formatting by spilling URL into two parts--something with the linkification messed it up)
But i still get an error on this line: this.$.worldName.setContent(worldInfo.name+" --- ");
Error is: Uncaught TypeError: cannot call method 'setContent' of undefined.
It's as if it's not seeing anything inside my repeater.
This kind is called by App.js does that affect it in anyway?