Revision: 5065
Author:   [email protected]
Date:     Mon Sep 24 12:02:40 2012
Log:      Fix taming policy in Playground
http://codereview.appspot.com/6546050



[email protected]

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

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

=======================================
--- /trunk/src/com/google/caja/demos/playground/client/ui/PlaygroundView.java Thu Sep 13 16:39:23 2012 +++ /trunk/src/com/google/caja/demos/playground/client/ui/PlaygroundView.java Mon Sep 24 12:02:40 2012
@@ -484,7 +484,7 @@
     var that = this;
     var extraImports = {};
     try {
-      var tamings___ = eval(policy);
+      var tamings___ = $wnd.eval(policy);
     } catch (e) {
[email protected]::addRuntimeError(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)
           (e, "evaluating policy");

Reply via email to