]> git.saurik.com Git - cycript.git/blobdiff - Console.cpp
Attempting to wedge Cycript into a WebView.
[cycript.git] / Console.cpp
index f65323ea7e6f0e4c385a1ec868cbdefddfe03906..719e6f0fb24c8bc01ebeddec85cde0c848bdaf4c 100644 (file)
@@ -332,6 +332,7 @@ static void Console(apr_pool_t *pool, int client) {
 
         if (debug)
             std::cout << code << std::endl;
 
         if (debug)
             std::cout << code << std::endl;
+        code = "with(Cycript.all){" + code + "}";
 
         Run(client, code, fout, expand);
     }
 
         Run(client, code, fout, expand);
     }