Skip to content

Commit

Permalink
Merge pull request #3394 from mikehollis/deprecate-pushmany-documenta…
Browse files Browse the repository at this point in the history
…tion

[DOC] Deprecate store.pushMany in documentation
  • Loading branch information
bmac committed Jun 19, 2015
2 parents 10bec5d + 3ae9da8 commit 2af2e4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ember-data/lib/system/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -1962,6 +1962,7 @@ Store = Service.extend({
@param {String} modelName
@param {Array} datas
@return {Array}
@deprecated Use [push](#method_push) instead
*/
pushMany: function(modelName, datas) {
Ember.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${Ember.inspect(modelName)}`, typeof modelName === 'string');
Expand Down

0 comments on commit 2af2e4e

Please sign in to comment.