Skip to content

Commit

Permalink
PR for issue pouchdb-community#72. Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
OleRoel committed Jun 28, 2015
1 parent e5053c7 commit dff5d02
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions addon/adapters/pouch.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,13 @@ export default DS.RESTAdapter.extend({
"See https://github.com/nolanlawson/ember-pouch/issues/7.");
},

/**
* `find` has been deprecated in ED 1.13 and is replaced by 'new store
* methods', see: https://github.com/emberjs/data/pull/3306
* We keep the method for backward compatibility and forward calls to
* `findRecord`. This can be removed when the library drops support
* for deprecated methods.
*/
find: function (store, type, id) {
this.findRecord(store, type, id);
},
Expand Down

0 comments on commit dff5d02

Please sign in to comment.