kamranayub / UnderscoreKO

A tiny library that adds all of the Underscore.js collection/array methods to Knockout observable arrays

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Take care of passing in observable arrays

kamranayub opened this issue · comments

People shouldn't need to do this:

vm.myArray.union(vm.otherArray(), vm.otherArray2());

Instead, it should know to get the raw values:

vm.myArray.union(vm.otherArray, vm.otherArray2);

Applies to any Underscore methods that take an array* argument list.