fix 'make check'; add some recent authors
This commit is contained in:
parent
466829dc73
commit
bf994a34b3
2 changed files with 19 additions and 16 deletions
3
AUTHORS
3
AUTHORS
|
@ -20,3 +20,6 @@ Daniel Juhl (https://github.com/danieljuhl)
|
|||
Chris Barber (https://github.com/cb1kenobi)
|
||||
Manuel Schneider (https://github.com/manuelschneider)
|
||||
Martin Gausby (https://github.com/gausby)
|
||||
Stéphan Kochen (https://github.com/stephank)
|
||||
Shakeel Mohamed (https://github.com/shakeelmohamed)
|
||||
Denis Izmaylov (https://github.com/DenisIzmaylov)
|
||||
|
|
|
@ -26,23 +26,23 @@ var xxx = function xxx(s) { // internal dev/debug logging
|
|||
var xxx = function xxx() {}; // comment out to turn on debug logging
|
||||
|
||||
|
||||
if (typeof window === 'undefined') {
|
||||
var os = require('os');
|
||||
var fs = require('fs');
|
||||
try {
|
||||
/* Use `+ ''` to hide this import from browserify. */
|
||||
var dtrace = require('dtrace-provider' + '');
|
||||
} catch (e) {
|
||||
dtrace = null;
|
||||
}
|
||||
} else {
|
||||
var os = {
|
||||
hostname: function () {
|
||||
return window.location.host;
|
||||
if (typeof (window) === 'undefined') {
|
||||
var os = require('os');
|
||||
var fs = require('fs');
|
||||
try {
|
||||
/* Use `+ ''` to hide this import from browserify. */
|
||||
var dtrace = require('dtrace-provider' + '');
|
||||
} catch (e) {
|
||||
dtrace = null;
|
||||
}
|
||||
};
|
||||
var fs = {};
|
||||
var dtrace = null;
|
||||
} else {
|
||||
var os = {
|
||||
hostname: function () {
|
||||
return window.location.host;
|
||||
}
|
||||
};
|
||||
var fs = {};
|
||||
var dtrace = null;
|
||||
}
|
||||
var util = require('util');
|
||||
var assert = require('assert');
|
||||
|
|
Loading…
Reference in a new issue