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.

27 lines
789 B

4 years ago
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. var _plugin = require('../plugin');
  6. var _plugin2 = _interopRequireDefault(_plugin);
  7. var _browsers = require('../dictionary/browsers');
  8. var _identifiers = require('../dictionary/identifiers');
  9. var _postcss = require('../dictionary/postcss');
  10. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  11. exports.default = (0, _plugin2.default)([_browsers.IE_6, _browsers.IE_7, _browsers.IE_8], [_postcss.DECL], function (decl) {
  12. let v = decl.value;
  13. if (v && v.length > 2 && v.indexOf('\\9') === v.length - 2) {
  14. this.push(decl, {
  15. identifier: _identifiers.VALUE,
  16. hack: v
  17. });
  18. }
  19. });
  20. module.exports = exports['default'];