Skip to content

Commit

Permalink
Merge pull request #12674 from bekzod/remove-unused-prop
Browse files Browse the repository at this point in the history
removed unused `name` prop
  • Loading branch information
rwjblue committed Dec 8, 2015
2 parents 839e765 + ccf419a commit 3771c93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/ember-runtime/lib/system/core_object.js
Original file line number Diff line number Diff line change
Expand Up @@ -883,14 +883,13 @@ var ClassMixinProps = {
@private
*/
eachComputedProperty(callback, binding) {
var property, name;
var property;
var empty = {};

var properties = get(this, '_computedProperties');

for (var i = 0, length = properties.length; i < length; i++) {
property = properties[i];
name = property.name;
callback.call(binding || this, property.name, property.meta || empty);
}
}
Expand Down

0 comments on commit 3771c93

Please sign in to comment.