You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2010/01/20 16:33:36 UTC

svn commit: r901237 - /incubator/shindig/trunk/features/src/main/javascript/features/flash/flash.js

Author: lindner
Date: Wed Jan 20 15:33:35 2010
New Revision: 901237

URL: http://svn.apache.org/viewvc?rev=901237&view=rev
Log:
SHINDIG-1203 | Patch from Jacky Wang | fix yuicompressor on some JVMs

Modified:
    incubator/shindig/trunk/features/src/main/javascript/features/flash/flash.js

Modified: incubator/shindig/trunk/features/src/main/javascript/features/flash/flash.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/src/main/javascript/features/flash/flash.js?rev=901237&r1=901236&r2=901237&view=diff
==============================================================================
--- incubator/shindig/trunk/features/src/main/javascript/features/flash/flash.js (original)
+++ incubator/shindig/trunk/features/src/main/javascript/features/flash/flash.js Wed Jan 20 15:33:35 2010
@@ -121,7 +121,7 @@
         var a = document.createElement('a');
         a.href = swfUrl;
         // Get the part up to the last slash
-        opt_params.base = a.href.match(/^(.*\/)[^/]*$/)[1];
+        opt_params.base = a.href.match(/^(.*\/)[^\/]*$/)[1];
       }
       // Set wmode to "opaque" if it's not defined. The default value
       // "window" is undesirable because browsers will render Flash