Revision: 4497
Author:   [email protected]
Date:     Wed Jun  8 10:04:54 2011
Log:      fix cajaServer parameter in Playground
http://codereview.appspot.com/4601042

In a previous commit, I changed cajaServer from '/' to ''
to make the Playground work when installed other than at /
However, caja.configure treats '' the same as unspecified,
so cajaServer will be caja.appspot.com, rather than the
local test cajoler.

This change replaces '' with '.', which will be the local
cajoler.

[email protected], [email protected]

http://code.google.com/p/google-caja/source/detail?r=4497

Modified:
 /trunk/src/com/google/caja/demos/playground/client/ui/PlaygroundView.java

=======================================
--- /trunk/src/com/google/caja/demos/playground/client/ui/PlaygroundView.java Mon Jun 6 15:55:09 2011 +++ /trunk/src/com/google/caja/demos/playground/client/ui/PlaygroundView.java Wed Jun 8 10:04:54 2011
@@ -382,7 +382,7 @@
       Element div, String policy, String html, String js) /*-{
     var that = this;
     $wnd.caja.configure({
-      cajaServer: '',
+      cajaServer: '.',
       debug: true
     }, function (frameGroup) {
       var extraImports = {};

Reply via email to