Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
762 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.default = void 0;
|
---|
7 |
|
---|
8 | var _plugin = _interopRequireDefault(require("../plugin"));
|
---|
9 |
|
---|
10 | var _browsers = require("../dictionary/browsers");
|
---|
11 |
|
---|
12 | var _postcss = require("../dictionary/postcss");
|
---|
13 |
|
---|
14 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
---|
15 |
|
---|
16 | var _default = (0, _plugin.default)([_browsers.IE_5_5, _browsers.IE_6, _browsers.IE_7], [_postcss.DECL], function (decl) {
|
---|
17 | const match = decl.value.match(/!\w/);
|
---|
18 |
|
---|
19 | if (match) {
|
---|
20 | const hack = decl.value.substr(match.index, decl.value.length - 1);
|
---|
21 | this.push(decl, {
|
---|
22 | identifier: '!important',
|
---|
23 | hack
|
---|
24 | });
|
---|
25 | }
|
---|
26 | });
|
---|
27 |
|
---|
28 | exports.default = _default;
|
---|
29 | module.exports = exports.default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.