init
This commit is contained in:
11
mc_test/node_modules/@dabh/diagnostics/adapters/hash.js
generated
vendored
Executable file
11
mc_test/node_modules/@dabh/diagnostics/adapters/hash.js
generated
vendored
Executable file
@ -0,0 +1,11 @@
|
||||
var adapter = require('./');
|
||||
|
||||
/**
|
||||
* Extracts the values from process.env.
|
||||
*
|
||||
* @type {Function}
|
||||
* @public
|
||||
*/
|
||||
module.exports = adapter(function hash() {
|
||||
return /(debug|diagnostics)=([^&]+)/i.exec(window.location.hash)[2];
|
||||
});
|
||||
Reference in New Issue
Block a user