Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ianfixes committed Jun 13, 2014
1 parent adbb429 commit 111ee80
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions lang-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ function extend(destination, source) {
* Dump the properties out a String returned by the function.
*/
function dumpProperties(_this) {
var dumpStr = "";
for (var propName in _this) {
if (_this.hasOwnProperty(propName)) {
if (dumpStr !== "") {
dumpStr += ", ";
}
dumpStr += (propName + "=" + _this[propName]);
}
var dumpStr = "";
for (var propName in _this) {
if (_this.hasOwnProperty(propName)) {
if (dumpStr !== "") {
dumpStr += ", ";
}
dumpStr += (propName + "=" + _this[propName]);
}
}

return dumpStr;
return dumpStr;
};

function getMethods(_this) {
var methods = [];
for (var m in _this) {
//if (typeof _this[m] == "function" && _this.hasOwnProperty(m)) {
if (typeof _this[m] == "function") {
methods.push(m);
}
var methods = [];
for (var m in _this) {
//if (typeof _this[m] == "function" && _this.hasOwnProperty(m)) {
if (typeof _this[m] == "function") {
methods.push(m);
}
return methods;
}
return methods;
}

extend(Array.prototype, {
Expand Down

0 comments on commit 111ee80

Please sign in to comment.