Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix async execution and write multi-step searches
Resolved an issue with the asynchronous execution: it is now actually asynchronous and not a direct call to another function. There appears to be a bug in the unit testing library that doesn't support usage of `process.nextTick`, but for now this has been worked around by using the less efficient `setTimeout callback, 0` function. The search algorithm also now supports multiple step paths and caveats identified around that have been documented in the code (regarding state copying). Unit tests for the above have been written.
- Loading branch information
Edd Porter
committed
Feb 7, 2012
1 parent
e28ec98
commit 73d1a29
Showing
4 changed files
with
109 additions
and
25 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,2 +1,3 @@ | ||
*.js | ||
node_modules | ||
*.swp |
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