##UPDATE
I've now moved this stuff into it's own repo and added an executable checker, and some nifty diagrams of the stream state transitions state diagrams
This gist is no longer being maintained. goto dominictarr/stream-spec
var error = new Error; | |
Object.defineProperty(global, '__stack', { | |
get: function(){ | |
Error.prepareStackTrace = function(err, frames){ | |
err.frames = frames; | |
}; | |
try { | |
throw error; | |
} catch (err) { |
#!/usr/bin/env bash | |
# Bash Stack | |
set -o errtrace | |
set -o errexit | |
set -o nounset | |
declare -a stack |
TESTS = $(shell find test/test.*.js) | |
test: | |
@./test/run.sh $(TESTS) | |
.PHONY: test |
##UPDATE
I've now moved this stuff into it's own repo and added an executable checker, and some nifty diagrams of the stream state transitions state diagrams
This gist is no longer being maintained. goto dominictarr/stream-spec