canjs / can-fixture

Intercept and simulate AJAX requests. Works without CanJS.

Home Page:https://canjs.com/doc/can-fixture.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

INVALID_STATE_ERR: DOM Exception 11 on Android < 4.4

sszabolcs opened this issue · comments

Hi!

I get the following exception on Android < 4.4 (built-in browser) when I open the JSBin example referenced in Gitter:
INVALID_STATE_ERR: DOM Exception 11

The problematic line is the 15126th line of can.all.js:

} else if (props.indexOf(prop) === -1 && typeof x[prop] !== 'function') {

Is there a way to implement this logic in a way that it works on Android < 4.4?
Thanks!