push all website files

This commit is contained in:
Jacob Levine
2019-01-06 13:14:45 -06:00
parent d7301e26c3
commit d2d5d4c04e
15662 changed files with 2166516 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
'use strict';
module.exports = function capturable () {
var events = [];
function _capt (value, espath) {
events.push({value: value, espath: espath});
return value;
}
function _expr (value, args) {
var captured = events;
events = [];
var source = {
content: args.content,
filepath: args.filepath,
line: args.line
};
if (args.generator) {
source.generator = true;
}
if (args.async) {
source.async = true;
}
return {
powerAssertContext: {
value: value,
events: captured
},
source: source
};
}
return {
_capt: _capt,
_expr: _expr
};
};