From 8760792ff1809a4f0f9ae32cab4329b141e8fcb5 Mon Sep 17 00:00:00 2001 From: Chris Van Date: Sat, 14 Dec 2013 16:00:54 -0800 Subject: [PATCH] move utils to lib/utils --- db.js | 2 +- utils.js => lib/utils.js | 0 views/game/submit.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename utils.js => lib/utils.js (100%) diff --git a/db.js b/db.js index fc991bc..fe32b00 100644 --- a/db.js +++ b/db.js @@ -15,7 +15,7 @@ if (redisURL.auth) { redisClient.auth(redisURL.auth.split(':')[1]); } -var utils = require('./utils'); +var utils = require('./lib/utils'); function flatDB() {} diff --git a/utils.js b/lib/utils.js similarity index 100% rename from utils.js rename to lib/utils.js diff --git a/views/game/submit.js b/views/game/submit.js index f214fc0..c12ab25 100644 --- a/views/game/submit.js +++ b/views/game/submit.js @@ -1,5 +1,5 @@ var db = require('../.././db'); -var utils = require('../.././utils'); +var utils = require('../.././lib/utils'); module.exports = function(server) {