strophe.min.js和strophe.js之间的区别?

时间:2015-04-24 14:05:28

标签: javascript xmpp ejabberd strophe bytestream

我们是否需要将strophe.min.js包含在使用SOCKS5 Bytestreams流启动的xmpp文件传输中?还是strophe.js就够了?

2 个答案:

答案 0 :(得分:0)

考虑使用.min.js,因为它是库的缩小(压缩)版本,并且尺寸更小,从而缩短了下载时间。

答案 1 :(得分:0)

They are the same code. One is minimized for performance (white spaces and line breaks removed). Stophe.js is bets used for assisting you with debugging since it easier to read. Once you're past that step, swap it out for the min version.