Browse files

Merge pull request #810 from bradleypriest/patch-4

Remove unused var declaration
  • Loading branch information...
2 parents 309ec2b + f1a16e2 commit df993ef94089558ebc39de17de9d033062801dce @stefanpenner stefanpenner committed Mar 17, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 packages/ember-data/lib/system/model/attributes.js
View
2 packages/ember-data/lib/system/model/attributes.js
@@ -83,8 +83,6 @@ DS.attr = function(type, options) {
};
return Ember.computed(function(key, value, oldValue) {
- var data;
-
if (arguments.length > 1) {
Ember.assert("You may not set `id` as an attribute on your model. Please remove any lines that look like: `id: DS.attr('<type>')` from " + this.constructor.toString(), key !== 'id');
} else {

0 comments on commit df993ef

Please sign in to comment.