Add a comment.
git-svn-id: svn://10.0.0.236/trunk@43369 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
13bd8da2e3
commit
4ae1fbacd2
@ -80,8 +80,11 @@ class Arguments extends ScriptableObject {
|
||||
}
|
||||
|
||||
public void put(String name, Scriptable start, Object value) {
|
||||
if (name.equals("caller"))
|
||||
if (name.equals("caller")) {
|
||||
// Set "hasCaller" to false so that we won't look up a
|
||||
// computed value.
|
||||
hasCaller = false;
|
||||
}
|
||||
super.put(name, start, value);
|
||||
}
|
||||
|
||||
|
||||
@ -80,8 +80,11 @@ class Arguments extends ScriptableObject {
|
||||
}
|
||||
|
||||
public void put(String name, Scriptable start, Object value) {
|
||||
if (name.equals("caller"))
|
||||
if (name.equals("caller")) {
|
||||
// Set "hasCaller" to false so that we won't look up a
|
||||
// computed value.
|
||||
hasCaller = false;
|
||||
}
|
||||
super.put(name, start, value);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user