From: Alan Knowles Date: Wed, 20 Apr 2016 09:38:39 +0000 (+0800) Subject: Array.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=73b47405136af9942619556e354d52a9881b8438 Array.js --- diff --git a/Array.js b/Array.js index 1d8a2855c1..ed3a095cec 100644 --- a/Array.js +++ b/Array.js @@ -42,9 +42,9 @@ Roo.applyIf(Array.prototype, { map : function(fun ) { var len = this.length >>> 0; - if (typeof fun != "function") + if (typeof fun != "function") { throw new TypeError(); - + } var res = new Array(len); var thisp = arguments[1]; for (var i = 0; i < len; i++)