minor cleanup
This commit is contained in:
		
							
								
								
									
										1
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								index.js
									
									
									
									
									
								
							@@ -1,4 +1,3 @@
 | 
				
			|||||||
 | 
					 | 
				
			||||||
var textbelt = require('./lib/text');
 | 
					var textbelt = require('./lib/text');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
module.exports = textbelt;
 | 
					module.exports = textbelt;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,3 @@
 | 
				
			|||||||
 | 
					 | 
				
			||||||
module.exports = {
 | 
					module.exports = {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  us: [
 | 
					  us: [
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user