You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ka...@apache.org on 2014/11/24 21:59:20 UTC
cordova-lib git commit: Minor style and comment fixes in serve.js
Repository: cordova-lib
Updated Branches:
refs/heads/master b76a266bb -> 9c49fedbf
Minor style and comment fixes in serve.js
Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/9c49fedb
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/9c49fedb
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/9c49fedb
Branch: refs/heads/master
Commit: 9c49fedbff39ef27ca1409c32289e591ccfcda01
Parents: b76a266
Author: Mark Koudritsky <ka...@gmail.com>
Authored: Mon Nov 24 15:58:48 2014 -0500
Committer: Mark Koudritsky <ka...@gmail.com>
Committed: Mon Nov 24 15:58:48 2014 -0500
----------------------------------------------------------------------
cordova-lib/src/cordova/serve.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/9c49fedb/cordova-lib/src/cordova/serve.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/cordova/serve.js b/cordova-lib/src/cordova/serve.js
index 30ae0b3..e0e9f66 100644
--- a/cordova-lib/src/cordova/serve.js
+++ b/cordova-lib/src/cordova/serve.js
@@ -35,8 +35,8 @@ var cordova_util = require('./util'),
mime = require('mime'),
zlib = require('zlib');
-//extends Date object
-//used only for RFC 2822 formatting
+// d8 is a date parsing and formatting micro-framework
+// Used only for RFC 2822 formatting
require('d8');
require('d8/locale/en-US');
@@ -165,7 +165,7 @@ function launchServer(projectRoot, port) {
response.write('</ul>');
response.end();
} else if (!isFileChanged(filePath)) {
- do304();
+ do304();
} else {
var mimeType = mime.lookup(filePath);
var respHeaders = {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org