From 1dc17ca763e47cae855d9f412d3d2de46a3b4c67 Mon Sep 17 00:00:00 2001 From: JamesS237 Date: Sat, 29 Mar 2014 08:57:53 +1100 Subject: [PATCH 1/2] Add warning for generator support --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 650049d..bf5e79b 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,12 @@ Binaries won't work with `node-protobuf` -- some libraries are not properly link npm install rethinkdbdash ``` + To use the `yield` functionality of rethinkdbdash, you must be running __node 0.11.9__ or higher for generator support, and must run node(1) + with the `--harmony` flag. If you don't like typing this, add an alias to your shell profile: + +``` +alias node='node --harmony' +``` ### Documentation ### ------------- From 7be562f517a49970b837670cc71f060c1cffa6d4 Mon Sep 17 00:00:00 2001 From: JamesS237 Date: Sat, 29 Mar 2014 08:59:18 +1100 Subject: [PATCH 2/2] Add 'please note:' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bf5e79b..33343c1 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Binaries won't work with `node-protobuf` -- some libraries are not properly link npm install rethinkdbdash ``` - To use the `yield` functionality of rethinkdbdash, you must be running __node 0.11.9__ or higher for generator support, and must run node(1) + __Please Note:__ To use the `yield` functionality of rethinkdbdash, you must be running __node 0.11.9__ or higher for generator support, and must run node(1) with the `--harmony` flag. If you don't like typing this, add an alias to your shell profile: ```