-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Including
dtrace.sh
for local dev, swapping forEach()
with each()
- Loading branch information
Showing
5 changed files
with
10 additions
and
5 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 |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
.eslintrc | ||
.gitignore | ||
.travis.yml | ||
dtrace.sh | ||
Gruntfile.js | ||
sample.js | ||
sample2.js |
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,11 +1,13 @@ | ||
"use strict"; | ||
|
||
const d = require("dtrace-provider"); | ||
const path = require("path"), | ||
d = require("dtrace-provider"), | ||
{each} = require(path.join(__dirname, "utility.js")); | ||
|
||
module.exports = (id, ...probes) => { | ||
const dtp = d.createDTraceProvider(id); | ||
|
||
probes.forEach(p => dtp.addProbe(...p)); | ||
each(probes, p => dtp.addProbe(...p)); | ||
|
||
return dtp; | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,7 +1,7 @@ | ||
{ | ||
"name": "tenso", | ||
"description": "Tensō is an HTTP/HTTP2 REST API framework", | ||
"version": "10.4.0", | ||
"version": "10.4.1", | ||
"homepage": "http://avoidwork.github.io/tenso", | ||
"author": "Jason Mulligan <[email protected]>", | ||
"repository": { | ||
|