Skip to content

Commit

Permalink
Bump 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Nov 19, 2015
1 parent e750900 commit 3fc96e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -40,18 +40,18 @@ Script with boolex:

```
var boolex = require('boolex');
var vm = require('vm');
var expr = "@count >= 10";
var code = boolex.parse(expr);
// get function with vm
var check = vm.runInThisContext(code);
var check = boolex.compile(expr);
var result = check({count: 10});
// => result is true
var result = check({count: 5});
// => result is false
```

Please see test cases for more usage details.

## License
The MIT license
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "boolex",
"version": "1.1.0",
"version": "2.0.0",
"description": "Bool Expression",
"main": "index.js",
"directories": {
Expand Down

0 comments on commit 3fc96e6

Please sign in to comment.