Closed
Description
Version
2.3.3
Reproduction link
http://jsfiddle.net/zna06rq4/1/
Steps to reproduce
Run fiddle, error will be shown in console:
Error in callback for watcher "hello": "TypeError: this.cb.call is not a function"
What is expected?
"child" should be logged to the console via the watch handler in Child.
What is actually happening?
The watch is not being fired
In strats.watch (
Line 175 in 086ae44
If this has already been converted to an array (via a previous merge operation) it will convert it to a nested array
[[child]]
.
The fix for this seems to be updating line 175 to have:
Array.isArray(child) ? child : [child]