Fixed bad reference to platform
This commit is contained in:
parent
30c3a234da
commit
f7e3a0c9a4
1 changed files with 4 additions and 4 deletions
|
@ -90,16 +90,16 @@ utils.script = {
|
||||||
return '(document.body || document.documentElement).appendChild' + utils.script.methodHead([name])
|
return '(document.body || document.documentElement).appendChild' + utils.script.methodHead([name])
|
||||||
},
|
},
|
||||||
forceGC: function () {
|
forceGC: function () {
|
||||||
if (platform.isMozilla) {
|
if (utils.platform.isMozilla) {
|
||||||
}
|
}
|
||||||
if (platform.isChrome) {
|
if (utils.platform.isChrome) {
|
||||||
if (window.GCController) {
|
if (window.GCController) {
|
||||||
return GCController.collect() // eslint-disable-line no-undef
|
return GCController.collect() // eslint-disable-line no-undef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (platform.isSafari) {
|
if (utils.platform.isSafari) {
|
||||||
}
|
}
|
||||||
if (platform.isIE) {
|
if (utils.platform.isIE) {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getRandomElement: function () {
|
getRandomElement: function () {
|
||||||
|
|
Loading…
Reference in a new issue