Permalink
Browse files

Downgrading highlight for compatability

  • Loading branch information...
1 parent 1f84d79 commit 846371611e80fc9cf7ea7b2cfeb9ef2105427d4f @bentruyman committed Feb 3, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 app.js
  2. +1 −1 package.json
View
2 app.js
@@ -30,7 +30,7 @@ tips.forEach(function (tip) {
// Utilities
function showTip (req, res, index) {
- res.render('index.jade', {
+ res.render('index', {
locals: {
tip: tips[index - 1],
color: colors[Math.floor(Math.random() * colors.length)],
View
@@ -12,7 +12,7 @@
},
"dependencies": {
"express": "2.5.6",
- "highlight": "0.2.1",
+ "highlight": "0.1.0",
"jade": "0.20.1",
"socket.io": "0.8.7"
}

0 comments on commit 8463716

Please sign in to comment.