Skip to content
Browse files

Hash.set returns the setted value

  • Loading branch information...
1 parent dcdb5eb commit e7b9b8f64b086e8fce140779c06f39df0881ed9b @RStankov RStankov committed Feb 17, 2010
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/dom/layout.js
View
5 src/dom/layout.js
@@ -340,10 +340,7 @@
if (!(property in COMPUTATIONS)) {
throw "Property not found.";
}
-
- var value = COMPUTATIONS[property].call(this, this.element);
- this._set(property, value);
- return value;
+ return this._set(property, COMPUTATIONS[property].call(this, this.element));
},
/**

0 comments on commit e7b9b8f

Please sign in to comment.
Something went wrong with that request. Please try again.