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');
module.exports = textbelt;

View File

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

View File

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

View File

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

View File

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