请教一下使用combo插件合并文件时出现的问题

33 views
Skip to first unread message

3506...@qq.com

unread,
Aug 26, 2013, 5:07:34 AM8/26/13
to se...@googlegroups.com
js文件本身位于s.domain.com
但是使用combo合并文件,用require('/xx/xx/a')时,路径会指向www.domain.com
用required('./xx/xx/a')时,能指向s.domain.com,但是路径会出现问题。


require('/js/plugin/popLogin')
生成路径是
http://    www. debug. domain.com/  js /  ?? ued/tool/jquery.js,ued/ui/popbox/popbox.js    ,plugin/scrollBar.js   ,plugin/popLogin.js


require('./js/plugin/popLogin')
生成路径是
http://  s.debug.domain.com/  js/src/active/aaa/js/  ??ued/tool/jquery.js,ued/ui/popbox/popbox.js  ,plugin/scrollBar.js  ,plugin/popLogin.js


正确的路径是:
http://  s.debug.domain.com.tw/  js/  ??ued/tool/jquery.js,ued/ui/popbox/popbox.js,plugin/scrollBar.js,plugin/popLogin.js

麻烦了,谢谢

Frank Wang

unread,
Aug 26, 2013, 5:29:58 AM8/26/13
to seajs
能否提交问题到 https://github.com/seajs/seajs/issues ?
感谢。


--
You received this message because you are subscribed to the Google Groups "seajs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seajs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
王保平 / 玉伯(射雕)
送人玫瑰手有余香
Reply all
Reply to author
Forward
0 new messages