Skip to content

Commit

Permalink
Cleanup of console.log calls
Browse files Browse the repository at this point in the history
  • Loading branch information
vlucas committed Nov 17, 2013
1 parent 1250c9d commit 1ffef2f
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions app.js
Expand Up @@ -5,7 +5,6 @@

var express = require('express');
var ejs_engine = require('ejs-locals');
var partials = require('express-partials');

var http = require('http'),
sys = require('sys'),
Expand All @@ -28,7 +27,6 @@ app.configure(function(){
app.use(express.bodyParser({ keepExtensions: true }));
app.use(express.methodOverride());
app.use(app.router);
app.use(partials());
app.use(express.static(__dirname + '/public'));
});

Expand All @@ -52,7 +50,7 @@ app.get('/', function(req, res){
});

app.post('/', function(req, res) {
console.log('Receiving POST...');
/* console.log('Receiving POST...'); */

// Variables
var err = false,
Expand All @@ -66,7 +64,7 @@ app.post('/', function(req, res) {
if(finished) {
return;
}
console.log('---------------------------\n', 'Finished');
/* console.log('---------------------------\n', 'Finished'); */

finished = true;

Expand All @@ -84,11 +82,6 @@ app.post('/', function(req, res) {
err = "No javascript input was found";
}

console.log("IN:\n");
console.log(_js_in);
console.log("OUT:\n");
console.log(js_out);

// Template
res.render('index', {
js_in: js_in,
Expand Down

0 comments on commit 1ffef2f

Please sign in to comment.