mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
just an update to reflect the interCaps API style changes
I also caught a small error running in js strict mode. r=dougt --pete
This commit is contained in:
parent
e522671bc1
commit
40da71f89e
@ -297,10 +297,10 @@ write : function(buffer, perms){
|
||||
//dump("got outStream\n\n");
|
||||
|
||||
|
||||
if( outStream.Write(buffer, buffSize) )
|
||||
if( outStream.write(buffer, buffSize) )
|
||||
//dump("Write to file successful . . . \n\n");
|
||||
|
||||
outStream.Flush();
|
||||
outStream.flush();
|
||||
|
||||
}
|
||||
|
||||
@ -345,7 +345,7 @@ read : function() {
|
||||
|
||||
//dump(fileContents);
|
||||
|
||||
inStream.Close();
|
||||
inStream.close();
|
||||
|
||||
return fileContents;
|
||||
|
||||
@ -539,7 +539,7 @@ leaf : function (path) {
|
||||
return null;
|
||||
}
|
||||
|
||||
fileInst = new FilePath(path);
|
||||
var fileInst = new FilePath(path);
|
||||
|
||||
return fileInst.leafName;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user