mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-24 00:21:18 +00:00
fix(client) loadModule: path change to wrong after fail loading
This commit is contained in:
parent
ce661ddcac
commit
039fcbb62f
1 changed files with 2 additions and 2 deletions
|
|
@ -114,11 +114,11 @@ var Util, DOM, CloudFunc;
|
|||
|
||||
if (!CloudCmd[name]) {
|
||||
CloudCmd[name] = function(arg) {
|
||||
path = CloudCmd.LIBDIRCLIENT + path;
|
||||
var pathFull = CloudCmd.LIBDIRCLIENT + path;
|
||||
|
||||
Util.exec(doBefore);
|
||||
|
||||
return DOM.jsload(path, func ||
|
||||
return DOM.jsload(pathFull, func ||
|
||||
function() {
|
||||
var Proto = CloudCmd[name];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue