Skip to content

Commit

Permalink
a bit of documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence committed May 31, 2013
1 parent 8b914cc commit 9b2f93e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 3 additions & 4 deletions src/templates/create/config/app.js.hbs
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
// require other, non-ember dependencies here, ie:
// require other, dependencies here, ie:
// require('./vendor/moment');

require('../vendor/jquery');
require('../vendor/handlebars');
require('../vendor/ember');
require('../vendor/ember-data');
var Store = require('./store');
require('../vendor/ember-data'); // delete if you don't want ember-data

var App = Ember.Application.create();
App.Store = Store;
App.Store = require('./store'); // delete if you don't want ember-data

module.exports = App;

5 changes: 2 additions & 3 deletions src/templates/create/config/store.js.hbs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// by default, persist application data to localStorage change this file
// to use the RESTAdapter or your own adapter.

// by default, persist application data to localStorage.
require('../vendor/localstorage_adapter');

module.exports = DS.Store.extend({
revision: 11,
//adapter: DS.RESTAdapter.create()
adapter: DS.LSAdapter.create()
});

0 comments on commit 9b2f93e

Please sign in to comment.