Permalink
Browse files

restore command line behavior - update doc

  • Loading branch information...
1 parent 687a40f commit 1ff73f4219dbfa492864344bcd079d0598a32c3f @kislyuk committed with Andrey Kislyuk Dec 17, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -13,9 +13,9 @@ As a module:
```javascript
var complexify = require('node-complexify');
-complexify.evalPasswordComplexity("MadHatter", function(err, result) {
- console.log(result.complexity);
- console.log(result.valid);
+complexify.evalPasswordComplexity("MadHatter", function(err, valid, complexity) {
+ console.log(complexity);
+ console.log(valid);
});
```

0 comments on commit 1ff73f4

Please sign in to comment.