Error with enyo.Image

I've tried setting image through enyo.Image and left with the following error :
"Uncaught TypeError: Cannot read property 'selectSrc' of undefined"
And I've noticed the below line in enyo Image.js code where error is shown:
"var src = enyo.ri.selectSrc(this.src);"

Is it something wrong with enyo??? or my code???

Could any of you give solution for this!!!!!!!!!
Thanks in advance.. :)

Comments

  • I'm not sure what you're running into. I created a simple working fiddle using Enyo nightly. http://jsfiddle.net/yvhdhtem/

    Which version of Enyo are you running?
  • edited April 2015
    Hi @kamal, jumping on @theryanjduffy's comment, I'm not sure if this is what's happening in your case (and why you would be specifically using this version), but we mis-tagged 2.6.0-pre.4 and had inadvertently placed the resolution-independence support code in a wip-package. This has since been corrected, so if you are using 2.6.0-pre.4, I'd suggest checking out master, or doing a git fetch --tags to ensure you have the updated tag.
Sign In or Register to comment.