Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix README.md

  • Loading branch information...
commit 351cb0ecfc8245788918f3338777f82d98af9c5d 1 parent d779f71
@Devon-Olivier authored
Showing with 3 additions and 4 deletions.
  1. +2 −3 README.md
  2. +1 −1  package.json
5 README.md
@@ -73,7 +73,7 @@ var lottoplusDrivers = argentDrivers.lottoplus;
var nlcbLottoplusDriver = lottoplusDrivers.nlcb.createDriver();
var moment = argentDrivers.moment;
-var date = moment('2012 12 1', 'YYYY MM DD'),
+var date = moment('2012 12 1', 'YYYY MM DD');
nlcbLottoplusDriver.getDrawDate(date, function(error, draw){
if(error){
console.log(error);
@@ -193,8 +193,6 @@ nlcbLottoplusDriver.getDrawNumberRange(range, function(error, draws){
#### `.lottoplus.mongo`
Stores and retrieves draws from a mongo database.
-###Usage
-
Get a driver:
```js
//Change these to reflect your mongo setup
@@ -350,6 +348,7 @@ var range = {
mongoLottoplusDriver.getDrawNumberRange(range, function(error, draws){
if(error){
console.log(error);
+ //close database c'est tres important
return;
}
draws.forEach(function(draw){
View
2  package.json
@@ -1,6 +1,6 @@
{
"name": "argent-drivers",
- "version": "0.0.11",
+ "version": "0.0.12",
"description": "Drivers to lottoplus database stores.",
"main": "argent-drivers.js",
"scripts": {
Please sign in to comment.
Something went wrong with that request. Please try again.