mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 15:04:58 +00:00
Update file.js
This commit is contained in:
parent
e0e2088e40
commit
d8297d77a5
|
@ -111,7 +111,7 @@ var FileObject = function() {
|
||||||
this.interface = this.interfaces[interfaceName];
|
this.interface = this.interfaces[interfaceName];
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
|
|
||||||
this.setCharset = function(charset) {
|
this.setCharset = function(charset) {
|
||||||
this.charset = charset;
|
this.charset = charset;
|
||||||
return this;
|
return this;
|
||||||
|
@ -189,6 +189,12 @@ var FileObject = function() {
|
||||||
return this.interface.CreateFolder(this.filename);
|
return this.interface.CreateFolder(this.filename);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.close = function() {
|
||||||
|
this.interfaces.fso = null;
|
||||||
|
this.interfaces.ado = null;
|
||||||
|
this.interface = null;
|
||||||
|
};
|
||||||
|
|
||||||
this.create();
|
this.create();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user