source: trip-planner-front/node_modules/stylehacks/dist/plugins/slash9.js@ e29cc2e

Last change on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 785 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = void 0;
7
8var _plugin = _interopRequireDefault(require("../plugin"));
9
10var _browsers = require("../dictionary/browsers");
11
12var _identifiers = require("../dictionary/identifiers");
13
14var _postcss = require("../dictionary/postcss");
15
16function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
18var _default = (0, _plugin.default)([_browsers.IE_6, _browsers.IE_7, _browsers.IE_8], [_postcss.DECL], function (decl) {
19 let v = decl.value;
20
21 if (v && v.length > 2 && v.indexOf('\\9') === v.length - 2) {
22 this.push(decl, {
23 identifier: _identifiers.VALUE,
24 hack: v
25 });
26 }
27});
28
29exports.default = _default;
30module.exports = exports.default;
Note: See TracBrowser for help on using the repository browser.