wallet-core/node_modules/istanbul-lib-instrument/dist/index.js

29 lines
803 B
JavaScript
Raw Normal View History

2016-10-10 03:43:44 +02:00
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.programVisitor = exports.createInstrumenter = undefined;
var _instrumenter = require('./instrumenter');
var _instrumenter2 = _interopRequireDefault(_instrumenter);
var _visitor = require('./visitor');
var _visitor2 = _interopRequireDefault(_visitor);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* createInstrumenter creates a new instrumenter with the
* supplied options.
* @param {Object} opts - instrumenter options. See the documentation
* for the Instrumenter class.
*/
function createInstrumenter(opts) {
return new _instrumenter2.default(opts);
}
exports.createInstrumenter = createInstrumenter;
exports.programVisitor = _visitor2.default;