Is there a working LSAdapter example somewhere?


I’m trying to write a client-only prototype, but the adapters I tried aren’t working. FixtureAdapter is just partially implemented and LSAdapter doesn’t load somehow.

I tried it like this, but when I debug the code, none of the LSAdapter method is called, just the ones in ember-data.js.


<script src="lib/jquery-1.10.2.js"></script>
<script src="lib/bootstrap/js/bootstrap.min.js"></script>
<script src="lib/handlebars-1.1.2.js"></script>
<script src="lib/ember-1.6.1.js"></script>
<script src="lib/ember-data.js"></script>
<script src="lib/localstorage_adapter.js"></script>


window.App = Ember.Application.create();

App.ApplicationSerializer = DS.LSSerializer.extend();
App.ApplicationAdapter = DS.LSAdapter.extend({
	namespace: 'App-Data'
App.ApplicationStore = DS.Store.extend({
	adapter: App.ApplicationAdapter


I have one at