mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
build dist
This commit is contained in:
17
dist/lib/css/property-descriptors/opacity.js
vendored
Normal file
17
dist/lib/css/property-descriptors/opacity.js
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var IPropertyDescriptor_1 = require("../IPropertyDescriptor");
|
||||
var parser_1 = require("../syntax/parser");
|
||||
exports.opacity = {
|
||||
name: 'opacity',
|
||||
initialValue: '1',
|
||||
type: IPropertyDescriptor_1.PropertyDescriptorParsingType.VALUE,
|
||||
prefix: false,
|
||||
parse: function (token) {
|
||||
if (parser_1.isNumberToken(token)) {
|
||||
return token.number;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
};
|
||||
//# sourceMappingURL=opacity.js.map
|
||||
Reference in New Issue
Block a user