[Mathcast-checkin] SF.net SVN: mathcast:[195] trunk/chrome/content/httpd.js
Brought to you by:
timothylee,
tom_chekam
|
From: <tim...@us...> - 2015-02-09 05:42:53
|
Revision: 195
http://sourceforge.net/p/mathcast/code/195
Author: timothylee
Date: 2015-02-09 05:42:51 +0000 (Mon, 09 Feb 2015)
Log Message:
-----------
- Move writeMore() in accordance with strict JS syntax
Modified Paths:
--------------
trunk/chrome/content/httpd.js
Modified: trunk/chrome/content/httpd.js
===================================================================
--- trunk/chrome/content/httpd.js 2014-11-14 04:36:38 UTC (rev 194)
+++ trunk/chrome/content/httpd.js 2015-02-09 05:42:51 UTC (rev 195)
@@ -2675,6 +2675,12 @@
{
const PR_RDONLY = 0x01;
+ function writeMore()
+ {
+ gThreadManager.currentThread
+ .dispatch(writeData, Ci.nsIThread.DISPATCH_NORMAL);
+ }
+
var type = this._getTypeFromFile(file);
if (type === SJS_TYPE)
{
@@ -2799,12 +2805,6 @@
throw e;
}
- function writeMore()
- {
- gThreadManager.currentThread
- .dispatch(writeData, Ci.nsIThread.DISPATCH_NORMAL);
- }
-
var input = new BinaryInputStream(fis);
var output = new BinaryOutputStream(response.bodyOutputStream);
var writeData =
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|