Reviewers: felix8a,

Description:
es53.html is used not only by the playground but also by trycaja which
is hosted in a subdirectory.  Til
the switch to caja.js, the loading of es53.html cannot be relative

Please review this at http://codereview.appspot.com/4280062/

Affected files:
  M     src/com/google/caja/demos/playground/taming.js


Index: src/com/google/caja/demos/playground/taming.js
===================================================================
--- src/com/google/caja/demos/playground/taming.js      (revision 4404)
+++ src/com/google/caja/demos/playground/taming.js      (working copy)
@@ -78,7 +78,7 @@

     var hiddenDiv = document.getElementById("es53frames");
     var currentFrame = document.createElement('iframe');
- currentFrame.src = "es53.html?rnd=" + Math.floor(Math.random() * 10000); + currentFrame.src = "/es53.html?rnd=" + Math.floor(Math.random() * 10000);
     currentFrame.id = "es53frame";

     onReadyCallbacks___.push(function(api, childFrame) {


Reply via email to