Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

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 authored and jkleinsc committed Jul 29, 2015
1 parent b97cb81 commit d7e6b6c
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._init(store, type);
var recordTypeName = this.getRecordTypeName(type);
Expand Down

0 comments on commit d7e6b6c

Please sign in to comment.