main
Last change
on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago |
Pred finalna verzija
|
-
Property mode
set to
100644
|
File size:
568 bytes
|
Rev | Line | |
---|
[d565449] | 1 | 'use strict';
|
---|
| 2 |
|
---|
| 3 | var ES5 = require('./es5');
|
---|
| 4 | var ES6 = require('./es6');
|
---|
| 5 | var ES2015 = require('./es2015');
|
---|
| 6 |
|
---|
| 7 | if (Object.defineProperty) {
|
---|
| 8 | Object.defineProperty(ES2015, 'ES5', { enumerable: false, value: ES5 });
|
---|
| 9 | Object.defineProperty(ES2015, 'ES6', { enumerable: false, value: ES6 });
|
---|
| 10 | Object.defineProperty(ES2015, 'ES2015', { enumerable: false, value: ES2015 });
|
---|
| 11 | } else {
|
---|
[0c6b92a] | 12 | // @ts-expect-error TODO
|
---|
| 13 | ES2015.ES5 = ES5;
|
---|
| 14 | // @ts-expect-error TODO
|
---|
| 15 | ES2015.ES6 = ES6;
|
---|
| 16 | // @ts-expect-error TODO
|
---|
| 17 | ES2015.ES2015 = ES2015;
|
---|
[d565449] | 18 | }
|
---|
| 19 |
|
---|
[0c6b92a] | 20 | /** @type {import('.')} */
|
---|
[d565449] | 21 | module.exports = ES2015;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.