You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2010/08/06 00:35:04 UTC

svn commit: r982816 - /mina/vysper/trunk/server/extensions/xep0124-xep0206-bosh/src/examples/client/client.js

Author: ngn
Date: Thu Aug  5 22:35:04 2010
New Revision: 982816

URL: http://svn.apache.org/viewvc?rev=982816&view=rev
Log:
Check for flensed before setting the base path

Modified:
    mina/vysper/trunk/server/extensions/xep0124-xep0206-bosh/src/examples/client/client.js

Modified: mina/vysper/trunk/server/extensions/xep0124-xep0206-bosh/src/examples/client/client.js
URL: http://svn.apache.org/viewvc/mina/vysper/trunk/server/extensions/xep0124-xep0206-bosh/src/examples/client/client.js?rev=982816&r1=982815&r2=982816&view=diff
==============================================================================
--- mina/vysper/trunk/server/extensions/xep0124-xep0206-bosh/src/examples/client/client.js (original)
+++ mina/vysper/trunk/server/extensions/xep0124-xep0206-bosh/src/examples/client/client.js Thu Aug  5 22:35:04 2010
@@ -38,7 +38,7 @@ connectionStatuses[Strophe.Status.DISCON
 connectionStatuses[Strophe.Status.ATTACHED] = "ATTACHED";
 
 // this is needed by flXHR to automatically include its dependencies
-window.flensed.base_path="../resources/flxhr/";
+if(window.flensed) window.flensed.base_path="../resources/flxhr/";
 
 $(document).ready(function() {
 	$("#tabs").tabs();