Temporarily increased serialization limit for iOS

This commit is contained in:
Michael Schmatz 2014-10-30 14:12:58 -04:00
parent 0bb11e2f36
commit da2ca3ec63

View file

@ -132,7 +132,7 @@ window.serializeForIOS = serializeForIOS = (obj, depth=3) ->
clone = {}
keysHandled = 0
for own key, value of obj
continue if ++keysHandled > 20
continue if ++keysHandled > 50
if not value
clone[key] = value
else if value is window or value.firstElementChild or value.preventDefault