Permalink
Browse files

Remove unused var declaration

  • Loading branch information...
1 parent 309ec2b commit f1a16e268755491d91c8aa5f158f51b1156a3e71 @bradleypriest bradleypriest committed Mar 15, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −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 f1a16e2

Please sign in to comment.