diff --git a/README.md b/README.md index 4ade4157f8..d63f2ef50d 100644 --- a/README.md +++ b/README.md @@ -473,7 +473,7 @@ added in the [pull request #40](https://github.com/sahat/hackathon-starter/pull/ as part of CSRF protection. ``` -input(type='hidden', name='_csrf', value='_csrf') +input(type='hidden', name='_csrf', value=_csrf) ``` **Note:** It is now possible to whitelist certain URLs. In other words you can @@ -965,7 +965,7 @@ If you want to stick all your JavaScript inside templates, then in `layout.jade` your main template file, add this to `head` block. ```jade -script(src='/socket.io/socket.io.js?v=#{cacheBuster}') +script(src='/socket.io/socket.io.js') script. var socket = io.connect(window.location.href); socket.on('greet', function (data) { diff --git a/package.json b/package.json index 1276465e52..54cbd5b2ab 100755 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "async": "^0.8.0", "bcrypt-nodejs": "^0.0.3", "body-parser": "^1.0.2", - "cheerio": "^0.15.0", + "cheerio": "^0.16.0", "clockwork": "^0.1.1", "compression": "^1.0.2", "connect-assets": "^3.0.0-beta2", @@ -36,7 +36,7 @@ "mongoose": "^3.8.8", "morgan": "^1.0.0", "node-foursquare": "^0.2.1", - "node-linkedin": "^0.1.8", + "node-linkedin": "^0.2.0", "nodemailer": "^0.6.3", "passport": "^0.2.0", "passport-facebook": "^1.0.3",