Browse files

improve README.md

  • Loading branch information...
1 parent d9ea178 commit 4ec4196c4ed578faa0698457d6d572a9e32f0b75 @Devon-Olivier committed Dec 25, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
View
8 README.md
@@ -145,15 +145,15 @@ draws with dates in range that could have been retrieved.
The following prints all draws in December 2012.
```js
var lottoplusDrivers = require('argent-drivers').lottoplus;
-var nlcbLottoplusDriver = lottoplusDrivers.nlcb.createDriver();
+var mongoLottoplusDriver = lottoplusDrivers.mongo.createDriver();
var MOMENT = require('moment');
var range = {
start: MOMENT('2012 12 1', 'YYYY MM DD'),
end: MOMENT('2013 1 1', 'YYYY MM DD')
};
-nlcbLottoplusDriver.getDrawDateRange(range, function(error, draws){
+mongoLottoplusDriver.getDrawDateRange(range, function(error, draws){
if(error){
console.log(error);
return;
@@ -185,14 +185,14 @@ draws with numbers in range that could have been retrieved.
The following prints draws with numbers from 1 to 10 inclusive.
```js
var lottoplusDrivers = require('argent-drivers').lottoplus;
-var nlcbLottoplusDriver = lottoplusDrivers.nlcb.createDriver();
+var mongoLottoplusDriver = lottoplusDrivers.mongo.createDriver();
var range = {
start: 1,
end: 11
};
-nlcbLottoplusDriver.getDrawNumberRange(range, function(error, draws){
+mongoLottoplusDriver.getDrawNumberRange(range, function(error, draws){
if(error){
console.log(error);
return;

0 comments on commit 4ec4196

Please sign in to comment.