blob: 1e3bef6bd93ceb6ef72ac187ce6caef8066ccda3 (
plain)
1
2
3
4
5
6
7
8
|
/**
* Generates JSON output into a context.
*/
angular.scenario.output('json', function(context, runner, model) {
model.on('RunnerEnd', function() {
context.text(angular.toJson(model.value));
});
});
|