From 0cafc89ca43e26b0fcda04fa5a7da2ca358950d8 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Wed, 19 Mar 2014 12:42:15 +0400 Subject: [PATCH] Server.js code style --- server.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/server.js b/server.js index 0df3960d..3c797e53 100755 --- a/server.js +++ b/server.js @@ -74,19 +74,19 @@ HttpServer.prototype.handleRequest_ = function(req, res) { function StaticServlet() {} StaticServlet.MimeMap = { - 'txt': 'text/plain', + 'txt': 'text/plain', 'html': 'text/html', - 'css': 'text/css', - 'xml': 'application/xml', + 'css': 'text/css', + 'xml': 'application/xml', 'json': 'application/json', - 'js': 'application/javascript', - 'jpg': 'image/jpeg', + 'js': 'application/javascript', + 'jpg': 'image/jpeg', 'jpeg': 'image/jpeg', - 'gif': 'image/gif', - 'png': 'image/png', -  'svg': 'image/svg+xml', -  'wav': 'audio/wav', - 'ico': 'image/vnd.microsoft.icon' + 'gif': 'image/gif', + 'png': 'image/png', +  'svg': 'image/svg+xml', +  'wav': 'audio/wav', + 'ico': 'image/vnd.microsoft.icon' }; StaticServlet.prototype.handleRequest = function(req, res) {