minor cleanup

This commit is contained in:
Ian 2014-10-22 23:51:58 -07:00
parent b7a46c2d40
commit 33315c6050
5 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,3 @@
var textbelt = require('./lib/text'); var textbelt = require('./lib/text');
module.exports = textbelt; module.exports = textbelt;

View File

@ -1,4 +1,3 @@
module.exports = { module.exports = {
us: [ us: [

View File

@ -11,7 +11,7 @@ var debugEnabled = false;
value. value.
*/ */
function output() { function output() {
if (debugEnabled === true) { if (debugEnabled) {
return console.log.apply(this, arguments); return console.log.apply(this, arguments);
} }
} }

View File

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
# Starts development server
cd `dirname $0` cd `dirname $0`
supervisor ../server/app.js supervisor ../server/app.js

View File

@ -196,10 +196,9 @@ function dateStr() {
} }
function stripPhone(phone) { function stripPhone(phone) {
return (phone+'').replace(/\D/g, ''); return (phone + '').replace(/\D/g, '');
} }
// Start server // Start server
var port = process.env.PORT || 9090; var port = process.env.PORT || 9090;
app.listen(port, function() { app.listen(port, function() {