From f16e71dc88b69c58f32ebfb5d448ac3e18728d02 Mon Sep 17 00:00:00 2001 From: Eric Ryan Harrison Date: Fri, 7 Feb 2014 17:54:13 -0500 Subject: [PATCH 1/3] Fixed minor bug in the flash example in README.md Minor bug in the req.flash Data Usage Controller example. String passed instead of an object wrapped string. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab090980a1..66c8b1e913 100644 --- a/README.md +++ b/README.md @@ -503,7 +503,7 @@ to "info" and "success" flash messages, and you could even create a new one your **Data Usage Controller (Example)** ``` -req.flash('warning', 'You have exceeded 90% of your data usage'); +req.flash('warning', {'You have exceeded 90% of your data usage'}); ``` **User Account Page (Example)** From 12bc85b736d7b58c583ac78ab2b85f30e11595ca Mon Sep 17 00:00:00 2001 From: Eric Ryan Harrison Date: Fri, 7 Feb 2014 17:56:21 -0500 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 66c8b1e913..929ec7163f 100644 --- a/README.md +++ b/README.md @@ -503,7 +503,7 @@ to "info" and "success" flash messages, and you could even create a new one your **Data Usage Controller (Example)** ``` -req.flash('warning', {'You have exceeded 90% of your data usage'}); +req.flash('warning', {msg: 'You have exceeded 90% of your data usage'}); ``` **User Account Page (Example)** From cec811ebadf46b1ade8ed971cad74f129e6c582b Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Fri, 7 Feb 2014 18:34:40 -0500 Subject: [PATCH 3/3] Added OS icons to Prerequisites --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 929ec7163f..ed49096013 100644 --- a/README.md +++ b/README.md @@ -73,11 +73,11 @@ Prerequisites - [MongoDB](http://www.mongodb.org/downloads) - [Node.js](http://nodejs.org) - Command Line Tools - - **Mac OS X**: [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12) (or **OS X 10.9 Mavericks**: `xcode-select --install`) - - **Windows**: [Visual Studio](http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-8) - - **Ubuntu**: `sudo apt-get install build-essential` - - **Fedora**: `sudo yum groupinstall "Development Tools"` - - **OpenSUSE**: `sudo zypper install --type pattern devel_basis` + -  **Mac OS X**: [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12) (or **OS X 10.9 Mavericks**: `xcode-select --install`) + -  **Windows**: [Visual Studio](http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-8) + -  **Ubuntu**: `sudo apt-get install build-essential` + -  **Fedora**: `sudo yum groupinstall "Development Tools"` + -  **OpenSUSE**: `sudo zypper install --type pattern devel_basis` :exclamation: **Note**: If you are new to Node.js or Express framework, I highly recommend watching [Node.js and Express 101](http://www.youtube.com/watch?v=BN0JlMZCtNU) screencast by Alex Ford that teaches Node and Express from scratch. Alternatively, here is another great tutorial for complete beginners - [Getting Started With Node.js, Express, MongoDB](http://cwbuecheler.com/web/tutorials/2013/node-express-mongo/).