 
 # Temporary storage of tweets
 tweets = []
+
+eraseTweets = -> tweets = []
+
 # Clears cache of tweets
 setInterval eraseTweets, 5000
-eraseTweets = -> tweets = []
+
 # Returns tweets to client
 `getTweets = function() {return tweets;}`
 

# Prod config
app.configure 'production', ->
  app.use express.errorHandler()
  
Twitter = new twit {
  consumer_key: process.env.consumer_key,
  consumer_secret: process.env.consumer_secret,


process.on 'uncaughtException', (err) ->
    console.log 'Uncaught Error!!! : ' + err
