mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
build dist
This commit is contained in:
24
dist/lib/css/property-descriptors/line-break.js
vendored
Normal file
24
dist/lib/css/property-descriptors/line-break.js
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var IPropertyDescriptor_1 = require("../IPropertyDescriptor");
|
||||
var LINE_BREAK;
|
||||
(function (LINE_BREAK) {
|
||||
LINE_BREAK["NORMAL"] = "normal";
|
||||
LINE_BREAK["STRICT"] = "strict";
|
||||
})(LINE_BREAK = exports.LINE_BREAK || (exports.LINE_BREAK = {}));
|
||||
exports.lineBreak = {
|
||||
name: 'line-break',
|
||||
initialValue: 'normal',
|
||||
prefix: false,
|
||||
type: IPropertyDescriptor_1.PropertyDescriptorParsingType.IDENT_VALUE,
|
||||
parse: function (lineBreak) {
|
||||
switch (lineBreak) {
|
||||
case 'strict':
|
||||
return LINE_BREAK.STRICT;
|
||||
case 'normal':
|
||||
default:
|
||||
return LINE_BREAK.NORMAL;
|
||||
}
|
||||
}
|
||||
};
|
||||
//# sourceMappingURL=line-break.js.map
|
||||
Reference in New Issue
Block a user