-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added new `===` and `!==` operators #110 * Fix for issue #109 * Updated Readme * Updated agenda groups examples for #105 * Changed class names not to match property names in readme #99
- Loading branch information
1 parent
29697cb
commit 317c821
Showing
32 changed files
with
3,943 additions
and
489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
language: node_js | ||
node_js: | ||
- 0.6 | ||
- 0.8 | ||
- 0.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
(function () { | ||
"use strict"; | ||
var data = require("./data"), | ||
nools = require("../../index"); | ||
"use strict"; | ||
var data = require("./data"), | ||
nools = require("../../index"); | ||
|
||
var flow = nools.compile(__dirname + "/manners.nools"); | ||
var guests = data.load(flow).manners64; | ||
var session = flow.getSession.apply(flow, guests); | ||
session.assert(new (flow.getDefined("count"))({value: 1})); | ||
var start = new Date(); | ||
session.match().then(function () { | ||
console.log("Duration %dms", new Date() - start); | ||
}, function (err) { | ||
console.log(err.stack); | ||
}); | ||
})(); | ||
var flow = nools.compile(__dirname + "/manners.nools"); | ||
var guests = data.load(flow).manners64; | ||
var session = flow.getSession.apply(flow, guests); | ||
session.assert(new (flow.getDefined("count"))({value: 1})); | ||
var start = new Date(); | ||
|
||
module.exports = session.match().then(function () { | ||
console.log("Duration %dms", new Date() - start); | ||
session.dispose(); | ||
}, function (err) { | ||
session.dispose(); | ||
console.log(err.stack); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.