Talk:File IO: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(re em_te - wfm)
m (Marking the extension dir as readonly?)
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
-grimholtz
-grimholtz


== em_te's edit ==
== Marking the extension dir as readonly? ==
em_te:
You don't actually need to assign:
x = x.QI(...)
has the same effect as
x.QI(...)


-[[User:Asqueella|asqueella]]
Re: [[File_IO#Getting your extension's folder]]:
 
Shouldn't it be noted that the folder could be read-only (e.g. when installed by an admin into the app dir on 1.5)?  Otherwise people might be tempted to store data files in there again...
:When I used this code in my extension it doesn't work. If I don't assign it back, I get a "readLine" not supported error.
--[[User:Mook|Mook]] 15:55, 9 January 2006 (UTC)
: -Emte
::Works fine for me. Probably you're using slightly different code. Mail me asqueella gmail.com and I'll take a look.
::[[User:Asqueella|asqueella]]

Latest revision as of 15:55, 9 January 2006

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

Marking the extension dir as readonly?

Re: File_IO#Getting your extension's folder: Shouldn't it be noted that the folder could be read-only (e.g. when installed by an admin into the app dir on 1.5)? Otherwise people might be tempted to store data files in there again... --Mook 15:55, 9 January 2006 (UTC)