开发者

How to import Dojo module whose name has dot within it?

开发者 https://www.devze.com 2023-02-01 09:33 出处:网络
I am using dojo.require to import a grid module, the problem is the 开发者_开发问答module name has dot like turbo.grid.js, dojo.require(\"DIR.turbo.grid\") will not work. How do i import it if i don\'

I am using dojo.require to import a grid module, the problem is the 开发者_开发问答module name has dot like turbo.grid.js, dojo.require("DIR.turbo.grid") will not work. How do i import it if i don't want to change the module name? Thanks.


I don't think this will work without renaming the module. the module names are like the package/classname structure in java - therefore a dot isn't a valid character. regards

0

精彩评论

暂无评论...
验证码 换一张
取 消