projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2003/10/31 10:57:24
[org.ibex.core.git]
/
src
/
org
/
xwt
/
js
/
ScopeImpl.java
diff --git
a/src/org/xwt/js/ScopeImpl.java
b/src/org/xwt/js/ScopeImpl.java
index
f64c952
..
a01b3bb
100644
(file)
--- a/
src/org/xwt/js/ScopeImpl.java
+++ b/
src/org/xwt/js/ScopeImpl.java
@@
-28,9
+28,7
@@
class ScopeImpl extends JS.Obj {
else super.put(key, val == null ? NULL_PLACEHOLDER : val);
}
public boolean isTransparent() { return false; }
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; }
public Scope getParentScope() { return parentScope; }
-}
+}
+