Permalink
Browse files

Support for XMPP over Websockets

  • Loading branch information...
primalmotion committed Sep 6, 2012
1 parent bd68bb3 commit b29346b4ce810e55e52b304fd98cecf5bd3c0278
Showing with 6 additions and 6 deletions.
  1. +2 −2 Info.plist
  2. +3 −3 Jakefile
  3. +1 −1 strophejs
View
@@ -22,7 +22,7 @@
1: use StropheCappuccino bypass system to use the Cappuccino event loop
-->
<key>TNStropheJSUseCappuccinoRunLoop</key>
- <integer>0</integer>
+ <integer>1</integer>
<!--
be carefull with this one.
it is the delay between two runs
@@ -32,6 +32,6 @@
0.1 is cool
-->
<key>TNStropheJSRunLoopInterval</key>
- <real>0.1</real>
+ <real>0.3</real>
</dict>
</plist>
View
@@ -12,7 +12,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
- *
+ *
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
@@ -112,7 +112,7 @@ task("test", function()
var tests = new FileList('Test/*Test.j');
var cmd = ["ojtest"].concat(tests.items());
var cmdString = cmd.map(OS.enquote).join(" ");
-
+
var code = OS.system(cmdString);
if (code !== 0)
OS.exit(code);
@@ -129,7 +129,7 @@ task("build-strophe", function()
task("build-strophe-release", ["build-strophe"], function()
{
var miniInput = FILE.read(FILE.join("strophe.js"), { charset:"UTF-8" });
- var minified = require("minify/shrinksafe").compress(miniInput, { charset : "UTF-8", useServer : true });
+ var minified = require("minify/yuicompressor").compress(miniInput, { charset : "UTF-8", useServer : true });
FILE.path("Resources/Strophe").absolute().join("strophe.js").write(minified, { charset : "UTF-8" });
});
Submodule strophejs updated 5 files
+3 −1 Makefile
+648 −0 src/bosh.js
+89 −542 src/core.js
+337 −0 src/websocket.js
+8 −8 tests/tests.js

0 comments on commit b29346b

Please sign in to comment.