Permalink
Browse files

minor cleanup

  • Loading branch information...
1 parent b7a46c2 commit 33315c6050b844339e5bf1fb17201f19d9225f53 @typpo committed Oct 23, 2014
Showing with 3 additions and 5 deletions.
  1. +0 −1 index.js
  2. +0 −1 lib/providers.js
  3. +1 −1 lib/text.js
  4. +1 −0 scripts/dev.sh
  5. +1 −2 server/app.js
View
@@ -1,4 +1,3 @@
-
var textbelt = require('./lib/text');
module.exports = textbelt;
View
@@ -1,4 +1,3 @@
-
module.exports = {
us: [
View
@@ -11,7 +11,7 @@ var debugEnabled = false;
value.
*/
function output() {
- if (debugEnabled === true) {
+ if (debugEnabled) {
return console.log.apply(this, arguments);
}
}
View
@@ -1,4 +1,5 @@
#!/bin/bash
+# Starts development server
cd `dirname $0`
supervisor ../server/app.js
View
@@ -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() {

0 comments on commit 33315c6

Please sign in to comment.