Hi,

I am working on sproutcore framework.

My objective is to retrieve the data from fixtures and load into data source. I am able to achieve it with the following code

SC.Store.create().from(SC.Record.fixtures)

But it is getting failed by using the below code

store: SC.Store.create().from(SC.FixturesDataSource.extend({ simulateRemoteResponse: YES, latency: 250 }))

What is wrong with SC.FixturesDataSource . Am I missing anything here? Please suggest
I also tried with SC.FixturesDataSource.create(). Didn't worked.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.