Checking in patch from Stefan Matthias Aust for including getName() function in File object
This commit is contained in:
parent
e55c0e05c2
commit
5045727f11
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ public class FileObject extends ScriptableObject {
|
|||
FunctionObject ctor = new FunctionObject("File", ctorMember, scope);
|
||||
ctor.addAsConstructor(scope, proto);
|
||||
String[] fileFuncs = {
|
||||
"getName",
|
||||
"getParent",
|
||||
"isAbsolute",
|
||||
"write",
|
||||
|
|
Loading…
Add table
Reference in a new issue