seajs shim 加载多个jquery plugin的问题

37 views
Skip to first unread message

Lu Xueyan

unread,
Apr 24, 2013, 3:16:50 AM4/24/13
to se...@googlegroups.com
如果用的jquery plugin 比较多 有合并的技巧吗

Frank Wang

unread,
Apr 24, 2013, 11:41:08 AM4/24/13
to seajs
可以直接合并为一个文件,然后 shim 配置中的 src 都指向这个文件,exports 都返回 jQuery 就好。


On Wed, Apr 24, 2013 at 3:16 PM, Lu Xueyan <luxu...@umeng.com> wrote:
如果用的jquery plugin 比较多 有合并的技巧吗

--
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