2003/10/07 20:37:25
[org.ibex.core.git] / src / org / xwt / js / ScopeImpl.java
index f64c952..a01b3bb 100644 (file)
@@ -28,9 +28,7 @@ class ScopeImpl extends JS.Obj {
         else super.put(key, val == null ? NULL_PLACEHOLDER : val);
     }
     public boolean isTransparent() { return false; }
-    public void declare(String s) {
-        if (isTransparent()) parentScope.declare(s);
-        else super.put(s, NULL_PLACEHOLDER);
-    }
+    public void declare(String s) { super.put(s, NULL_PLACEHOLDER); }
     public Scope getParentScope() { return parentScope; }
-} 
+}
+