You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2020/04/12 14:53:16 UTC
[royale-asjs] branch develop updated: Don't force a prefixing "/"
if module path was never set.
This is an automated email from the ASF dual-hosted git repository.
yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 9ee8c58 Don't force a prefixing "/" if module path was never set.
new 5a98f76 Merge branch 'develop' of https://gitbox.apache.org/repos/asf/royale-asjs into develop
9ee8c58 is described below
commit 9ee8c585ef1548b1096d4bd2bf74f7ac6c21acf8
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Sun Apr 12 17:39:30 2020 +0300
Don't force a prefixing "/" if module path was never set.
Reference #803
---
frameworks/projects/MXRoyale/src/main/royale/mx/modules/ModuleLoader.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/modules/ModuleLoader.as b/frameworks/projects/MXRoyale/src/main/royale/mx/modules/ModuleLoader.as
index fb413b3..52645c6 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/modules/ModuleLoader.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/modules/ModuleLoader.as
@@ -313,7 +313,7 @@ public class ModuleLoader extends VBox
{
return null;
}
- return utils.modulePath + "/" + utils.moduleName + ".swf";
+ return utils.modulePath ? utils.modulePath + "/" + utils.moduleName + ".swf" : utils.moduleName + ".swf";
}
/**