enyo.store.addSources is undefined

Description

I am trying out enyo Sample Flickr App given in the docs. The function enyo.store.addSources to add the new data source is undefined in the latest build. I checked the JS Fiddle for the sample flickr app for the latest nightly build and it is also crashing because of the same reason.

Attached is a screen shot of the Chrome's console.

Environment

Mac OS Mavericks, 10.9.3
Editor: Sublime Text
Sample Flickr App

Activity

Show:
AT
September 8, 2014, 7:12 PM
Edited

Hi , make sure to change your jsfiddle settings so that you are using Enyo 2.4.0. In your screenshot, it appears that you are using the nightly version of Enyo, which is currently 2.5.1-pre.7. There has been a significant overhaul of our data layer for 2.5, which is why you are observing that error. We are currently working on updating our documentation for 2.5 (and updating the fiddle links in the tutorial to specifically point to 2.4.0), but in the meantime this will be the easiest way to go through the tutorial. Let me know if you have more questions, thanks!

Suparn Gupta
September 10, 2014, 12:27 AM
Edited

@Aaron Tam

Thanks for clarifying. I just checked and everything is working fine in 2.4. The issue I guess was that, in the docs, the repo url for the moonstone-bootplate template points to the latest version of enyo and not the stable version.

Assignee

Screener (Enyo Team)

Reporter

Suparn Gupta

Labels

None

External issue ID

None

Tango Test Run Elements

None

Old Issue Key

None

Components

Affects versions

Priority

None
Configure