mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-11-25 17:06:52 +01:00
1ada95e04a
- Convert project to Javascript/Typescript - Allow custom headers to be passed in (optional) - Allow body to be optional
17 lines
454 B
JavaScript
17 lines
454 B
JavaScript
'use strict';
|
|
|
|
var ES5 = require('./es5');
|
|
var ES6 = require('./es6');
|
|
var ES2015 = require('./es2015');
|
|
|
|
if (Object.defineProperty) {
|
|
Object.defineProperty(ES2015, 'ES5', { enumerable: false, value: ES5 });
|
|
Object.defineProperty(ES2015, 'ES6', { enumerable: false, value: ES6 });
|
|
Object.defineProperty(ES2015, 'ES2015', { enumerable: false, value: ES2015 });
|
|
} else {
|
|
ES6.ES5 = ES5;
|
|
ES6.ES6 = ES6;
|
|
ES6.ES2015 = ES2015;
|
|
}
|
|
|
|
module.exports = ES2015;
|