changeset 30:82d800f2dcfc

added eval to list of blacklisted properties
author Atul Varma <varmaa@toolness.com>
date Mon, 22 Jun 2009 13:17:34 -0700
parents b20aeecb6499
children d5087fb2367d
files tcb.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tcb.js	Mon Jun 22 12:03:25 2009 -0700
+++ b/tcb.js	Mon Jun 22 13:17:34 2009 -0700
@@ -121,6 +121,7 @@
 
   getProperty: function(wrappee, wrapper, id, defaultValue) {
     switch (id) {
+    case "eval":
     case "prototype":
     case "caller":
     case "__proto__":