Hi this page on my site works fine on desktop browser, but has a weird bug on iOS8 Safari:
The index template doesn't show up, and there's a error in the console:
TypeError: Attempted to assign to readonly property.
and it points to the following line:
}), e("rsvp/promise/all", ["../utils", "exports"], function(e, t) {
"use strict";
var r = e.isArray, n = e.isNonThenable;
t["default"] = function(e, t) {
var i = this;
return new i(function(t, a) {
function o(e) {
return function(r) {
c[e] = r, 0===--u && t(c)
}
}
function s(e) {
u = 0, a(e)
}
if (!r(e))
throw new TypeError("You must pass an array to all.");
var l, u = e.length, c = new Array(u);
if (0 === u) // This is the line with error
return void t(c);
for (var h = 0; h < e.length; h++)
l = e[h], n(l) ? (c[h] = l, 0===--u && t(c)) : i.cast(l).then(o(h), s)
}, t)
}
}), e("rsvp/promise/cast", ["exports"], function(e) {
"use strict";
Is it a known bug to mobile safari, is there fix of it?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…