mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Show error when html5.js can't be loaded
This commit is contained in:
parent
231b778758
commit
17e979bf3f
10
node_modules/architect/architect.js
generated
vendored
10
node_modules/architect/architect.js
generated
vendored
@ -277,11 +277,9 @@ else (function () {
|
||||
});
|
||||
}
|
||||
|
||||
function resolveConfig(config, base, callback) {
|
||||
if (typeof base == "function") {
|
||||
callback = base;
|
||||
base = "";
|
||||
}
|
||||
function resolveConfig(config, base, callback, errback) {
|
||||
if (typeof base == "function")
|
||||
return resolveConfig(config, "", arguments[1], arguments[2]);
|
||||
|
||||
var paths = [], pluginIndexes = {};
|
||||
config.forEach(function (plugin, index) {
|
||||
@ -306,7 +304,7 @@ else (function () {
|
||||
plugin.consumes = module.consumes || [];
|
||||
});
|
||||
callback(null, config);
|
||||
});
|
||||
}, errback);
|
||||
}
|
||||
}());
|
||||
|
||||
|
||||
@ -90,6 +90,7 @@
|
||||
"c9.ide.imgeditor": "#612e75ef4f",
|
||||
"c9.ide.immediate": "#a962119bec",
|
||||
"c9.ide.installer": "#0fde9f0067",
|
||||
"c9.ide.language.python": "#undefined",
|
||||
"c9.ide.mount": "#b9a5a2d45c",
|
||||
"c9.ide.navigate": "#38ae100ea1",
|
||||
"c9.ide.newresource": "#981a408a7b",
|
||||
|
||||
@ -109,6 +109,9 @@
|
||||
if (window.hideLoader)
|
||||
window.hideLoader();
|
||||
}
|
||||
}, function loadError(mod) {
|
||||
if (mod.id === "plugins/c9.ide.clipboard/html5")
|
||||
return alert("Unable to load html5.js.\n\nThis may be caused by a false positive in your virus scanner. Please try reloading with ?unpacked=1 added to the URL.");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user