ZiadJ / knockoutjs-reactor

Recursively tracks changes within a view model no matter how deeply nested the observables are or whether they are nested within dynamically created array elements.
Other
74 stars 22 forks source link

Fix the hide options #33

Closed GitMyCode closed 9 years ago

GitMyCode commented 9 years ago

I think there was a typo at the line 115.
The "ko.utils.arrayIndexOf(options.hide, child)" was comparing the array of string with the object 'child' which always resulted in a false statement

GitMyCode commented 9 years ago

i realize the hide option is supose to receive the property and not the name of the property.