Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix whitespace issues introduced via #73

  • Loading branch information...
commit eef5e81aa36117d1f175ccb1e388fbfe8c16b21f 1 parent 29e699e
@kvz authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 functions/array/array_filter.js
View
8 functions/array/array_filter.js
@@ -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])) {
Please sign in to comment.
Something went wrong with that request. Please try again.