You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
454 B

4 years ago
  1. 'use strict';
  2. var ES5 = require('./es5');
  3. var ES6 = require('./es6');
  4. var ES2015 = require('./es2015');
  5. if (Object.defineProperty) {
  6. Object.defineProperty(ES2015, 'ES5', { enumerable: false, value: ES5 });
  7. Object.defineProperty(ES2015, 'ES6', { enumerable: false, value: ES6 });
  8. Object.defineProperty(ES2015, 'ES2015', { enumerable: false, value: ES2015 });
  9. } else {
  10. ES6.ES5 = ES5;
  11. ES6.ES6 = ES6;
  12. ES6.ES2015 = ES2015;
  13. }
  14. module.exports = ES2015;