Closed Manuel-S closed 8 years ago
Hi,
when having imported knockout-es5 globally, the F12 debugger breaks when you type variables in the console. It throws an exception of
Invalid caller object
on line 562:
if ('toString' in coercedObj && coercedObj.toString() === '[object Window]') {
the variable coercedObj contains a WindowPrototype and throws on the toString() call.
coercedObj
WindowPrototype
toString()
Hi, this PR is merged https://github.com/SteveSanderson/knockout-es5/pull/57. Please try it.
It works. Thanks!
Hi,
when having imported knockout-es5 globally, the F12 debugger breaks when you type variables in the console. It throws an exception of
on line 562:
the variable
coercedObj
contains aWindowPrototype
and throws on thetoString()
call.