We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前模块加载有点混乱:seachModule的C++部分有path,debugpath,然后debugpath在ModuleLoader里名字变成了AbsolutePath,然后到了js那,seachModule的C++部分的path变量名又变成了fullpath。 统一概念,分两种路径: 1、path是加载器对于脚本资源的内部唯一标识(Specifier),有可能是全路径,也可能不是,加载过程内部自行理解即可; 2、debugpath仅仅脚本执行时作为脚本Origin传入,可以和Specifier一样,也可以不一样;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
目前模块加载有点混乱:seachModule的C++部分有path,debugpath,然后debugpath在ModuleLoader里名字变成了AbsolutePath,然后到了js那,seachModule的C++部分的path变量名又变成了fullpath。
统一概念,分两种路径:
1、path是加载器对于脚本资源的内部唯一标识(Specifier),有可能是全路径,也可能不是,加载过程内部自行理解即可;
2、debugpath仅仅脚本执行时作为脚本Origin传入,可以和Specifier一样,也可以不一样;
The text was updated successfully, but these errors were encountered: