Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix whitespace issues introduced via #73
  • Loading branch information
kvz committed Feb 22, 2013
1 parent 29e699e commit eef5e81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions functions/array/array_filter.js
Expand Up @@ -16,12 +16,12 @@ function array_filter (arr, func) {
var retObj = {},
k;

func = func || function (v) {return v;};
func = func || function (v) { return v; };

// Fix: Issue #73
if( Object.prototype.toString.call( arr ) === '[object Array]' ) {
retObj = []
}
if (Object.prototype.toString.call(arr) === '[object Array]') {
retObj = [];
}

for (k in arr) {
if (func(arr[k])) {
Expand Down

0 comments on commit eef5e81

Please sign in to comment.