mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-13 07:58:41 +00:00
Use const where possible
This commit is contained in:
parent
577230348a
commit
78cfc2a7c9
|
|
@ -37,7 +37,7 @@
|
||||||
*/
|
*/
|
||||||
jsOMS.Asset.AssetManager.prototype.registerLoadedAssets = function ()
|
jsOMS.Asset.AssetManager.prototype.registerLoadedAssets = function ()
|
||||||
{
|
{
|
||||||
let scripts = document.getElementsByTagName('script'),
|
const scripts = document.getElementsByTagName('script'),
|
||||||
length = scripts.length;
|
length = scripts.length;
|
||||||
|
|
||||||
for (let i = 0; i < length; i++) {
|
for (let i = 0; i < length; i++) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user