Skip to content

Commit c375a34

Browse files
committed
Release v2.10.1
1 parent f58e6c3 commit c375a34

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

dist/flow.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,8 @@
15661566
}
15671567
var key;
15681568
// Is Array?
1569-
if (Array.isArray(obj)) {
1569+
// Array.isArray won't work, not only arrays can be iterated by index https://github.com/flowjs/ng-flow/issues/236#
1570+
if (typeof(obj.length) !== 'undefined') {
15701571
for (key = 0; key < obj.length; key++) {
15711572
if (callback.call(context, obj[key], key) === false) {
15721573
return ;
@@ -1598,7 +1599,7 @@
15981599
* Library version
15991600
* @type {string}
16001601
*/
1601-
Flow.version = '2.10.0';
1602+
Flow.version = '2.10.1';
16021603

16031604
if ( typeof module === "object" && module && typeof module.exports === "object" ) {
16041605
// Expose Flow as module.exports in loaders that implement the Node

0 commit comments

Comments
 (0)