MozillaZine

Talk:File IO

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 16:34, 21 December 2004
Asqueella (Talk | contribs)

<-- Previous diff
Revision as of 18:23, 7 March 2005
Grimholtz (Talk | contribs)
(starting a local version of MonkeySage's jsio.js)
Next diff -->
Line 7: Line 7:
[[User:Asqueella|Asqueella]] 08:19, 21 Dec 2004 (PST)~ [[User:Asqueella|Asqueella]] 08:19, 21 Dec 2004 (PST)~
:I believe, getService is more appropriate, changed the article. [[User:Asqueella|Asqueella]] 08:34, 21 Dec 2004 (PST)~ :I believe, getService is more appropriate, changed the article. [[User:Asqueella|Asqueella]] 08:34, 21 Dec 2004 (PST)~
 +
 +== starting a local version of MonkeySage's jsio.js ==
 +
 +Since bugs have been found in MonkeySage's jsio.js at http://gratisdei.com/io.js, I'm going to start a local branch of it here where we can refine it and clean it up w/o asking MonkeySage to change his website.
 +
 +-grimholtz

Revision as of 18:23, 7 March 2005

var file = Components.classes["@mozilla.org/file/directory_service;1"].
	createInstance(Components.interfaces.nsIProperties).
	get("ProfD", Components.interfaces.nsIFile);

-- should that be getService or createInstance? I'd use getService and Google thinks that both are possible.

Asqueella 08:19, 21 Dec 2004 (PST)~

I believe, getService is more appropriate, changed the article. Asqueella 08:34, 21 Dec 2004 (PST)~

starting a local version of MonkeySage's jsio.js

Since bugs have been found in MonkeySage's jsio.js at http://gratisdei.com/io.js, I'm going to start a local branch of it here where we can refine it and clean it up w/o asking MonkeySage to change his website.

-grimholtz