line-break.js 768 B

123456789101112131415161718192021222324
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var IPropertyDescriptor_1 = require("../IPropertyDescriptor");
  4. var LINE_BREAK;
  5. (function (LINE_BREAK) {
  6. LINE_BREAK["NORMAL"] = "normal";
  7. LINE_BREAK["STRICT"] = "strict";
  8. })(LINE_BREAK = exports.LINE_BREAK || (exports.LINE_BREAK = {}));
  9. exports.lineBreak = {
  10. name: 'line-break',
  11. initialValue: 'normal',
  12. prefix: false,
  13. type: IPropertyDescriptor_1.PropertyDescriptorParsingType.IDENT_VALUE,
  14. parse: function (lineBreak) {
  15. switch (lineBreak) {
  16. case 'strict':
  17. return LINE_BREAK.STRICT;
  18. case 'normal':
  19. default:
  20. return LINE_BREAK.NORMAL;
  21. }
  22. }
  23. };
  24. //# sourceMappingURL=line-break.js.map