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.

28 lines
802 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_5_5, _browsers.IE_6, _browsers.IE_7], [_postcss.ATRULE], function (rule) {
  12. const params = rule.params.trim();
  13. if (params.toLowerCase() === 'screen\\9') {
  14. this.push(rule, {
  15. identifier: _identifiers.MEDIA_QUERY,
  16. hack: params
  17. });
  18. }
  19. });
  20. module.exports = exports['default'];