Last change
on this file since 76712b2 was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago |
primeNG components
|
-
Property mode
set to
100644
|
File size:
759 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
---|
| 4 | value: true
|
---|
| 5 | });
|
---|
[e29cc2e] | 6 | exports.FEATURES = void 0;
|
---|
[6a3a178] | 7 | exports.enableFeature = enableFeature;
|
---|
[e29cc2e] | 8 | exports.featuresKey = void 0;
|
---|
[6a3a178] | 9 | exports.hasFeature = hasFeature;
|
---|
[e29cc2e] | 10 | exports.runtimeKey = void 0;
|
---|
[6a3a178] | 11 | const FEATURES = Object.freeze({
|
---|
| 12 | unicodeFlag: 1 << 0,
|
---|
| 13 | dotAllFlag: 1 << 1,
|
---|
| 14 | unicodePropertyEscape: 1 << 2,
|
---|
| 15 | namedCaptureGroups: 1 << 3
|
---|
| 16 | });
|
---|
| 17 | exports.FEATURES = FEATURES;
|
---|
| 18 | const featuresKey = "@babel/plugin-regexp-features/featuresKey";
|
---|
| 19 | exports.featuresKey = featuresKey;
|
---|
| 20 | const runtimeKey = "@babel/plugin-regexp-features/runtimeKey";
|
---|
| 21 | exports.runtimeKey = runtimeKey;
|
---|
| 22 |
|
---|
| 23 | function enableFeature(features, feature) {
|
---|
| 24 | return features | feature;
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | function hasFeature(features, feature) {
|
---|
| 28 | return !!(features & feature);
|
---|
| 29 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.