Permalink
Browse files

Call it pile instead of gather

  • Loading branch information...
1 parent e5c83c8 commit c802c33f540f7523778f6598b7ce02a39ce3c9c7 @gsf gsf committed Jul 24, 2012
Showing with 7 additions and 7 deletions.
  1. +1 −1 gather.js → pile.js
  2. +2 −2 routes/index.js
  3. +2 −2 routes/notificationAdd.js
  4. +2 −2 routes/notificationDelete.js
View
@@ -1,4 +1,4 @@
-module.exports = function gather() {
+module.exports = function pile() {
var args = Array.prototype.slice.call(arguments)
var last = args.pop()
return function(req, res, next) {
View
@@ -1,11 +1,11 @@
var db = require('../db')
var fs = require('fs')
-var gather = require('../gather')
+var pile = require('../pile')
var request = require('request')
var settings = require('../settings')
var util = require('util')
-module.exports = gather(
+module.exports = pile(
function(req, res, cb) {
db.lrange('knowtify:notifications', 0, 9, function(err, notifications) {
notifications = notifications.map(function(str) {
@@ -1,10 +1,10 @@
var authority = require('../authority')
var db = require('../db')
-var gather = require('../gather')
+var pile = require('../pile')
var scalpel = require('scalpel')
var util = require('util')
-module.exports = gather(
+module.exports = pile(
scalpel,
authority,
function(req, res) {
@@ -1,10 +1,10 @@
var authority = require('../authority')
var db = require('../db')
-var gather = require('../gather')
+var pile = require('../pile')
var scalpel = require('scalpel')
var util = require('util')
-module.exports = gather(
+module.exports = pile(
scalpel,
authority,
function(req, res) {

0 comments on commit c802c33

Please sign in to comment.