Commit ae43a77c by Kang Donghun

html2canvas.js 修正戻し

parent ef844de3
...@@ -95,7 +95,7 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = [ ...@@ -95,7 +95,7 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = [
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var HEX3 = /^#([a-f0-9]{3})$/i; var HEX3 = /^#([a-f0-9]{3})$/i;
var hex3 = function hex3(value) { var hex3 = function hex3(value) {
...@@ -353,9 +353,9 @@ var _BezierCurve = __webpack_require__(32); ...@@ -353,9 +353,9 @@ var _BezierCurve = __webpack_require__(32);
var _BezierCurve2 = _interopRequireDefault(_BezierCurve); var _BezierCurve2 = _interopRequireDefault(_BezierCurve);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var TOP = 0; var TOP = 0;
var RIGHT = 1; var RIGHT = 1;
...@@ -558,9 +558,9 @@ var _NodeContainer = __webpack_require__(3); ...@@ -558,9 +558,9 @@ var _NodeContainer = __webpack_require__(3);
var _NodeContainer2 = _interopRequireDefault(_NodeContainer); var _NodeContainer2 = _interopRequireDefault(_NodeContainer);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var LENGTH_WITH_UNIT = /([\d.]+)(px|r?em|%)/i; var LENGTH_WITH_UNIT = /([\d.]+)(px|r?em|%)/i;
...@@ -692,9 +692,9 @@ var _Input = __webpack_require__(21); ...@@ -692,9 +692,9 @@ var _Input = __webpack_require__(21);
var _ListItem = __webpack_require__(14); var _ListItem = __webpack_require__(14);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var INPUT_TAGS = ['INPUT', 'TEXTAREA', 'SELECT']; var INPUT_TAGS = ['INPUT', 'TEXTAREA', 'SELECT'];
...@@ -942,9 +942,9 @@ var _Bounds = __webpack_require__(1); ...@@ -942,9 +942,9 @@ var _Bounds = __webpack_require__(1);
var _padding = __webpack_require__(17); var _padding = __webpack_require__(17);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var BACKGROUND_REPEAT = exports.BACKGROUND_REPEAT = { var BACKGROUND_REPEAT = exports.BACKGROUND_REPEAT = {
REPEAT: 0, REPEAT: 0,
...@@ -1298,7 +1298,7 @@ Object.defineProperty(exports, "__esModule", { ...@@ -1298,7 +1298,7 @@ Object.defineProperty(exports, "__esModule", {
var _Path = __webpack_require__(6); var _Path = __webpack_require__(6);
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Vector = function Vector(x, y) { var Vector = function Vector(x, y) {
_classCallCheck(this, Vector); _classCallCheck(this, Vector);
...@@ -1544,7 +1544,7 @@ var _textTransform = __webpack_require__(20); ...@@ -1544,7 +1544,7 @@ var _textTransform = __webpack_require__(20);
var _TextBounds = __webpack_require__(22); var _TextBounds = __webpack_require__(22);
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var TextContainer = function () { var TextContainer = function () {
function TextContainer(text, parent, bounds) { function TextContainer(text, parent, bounds) {
...@@ -1807,7 +1807,7 @@ var _Color = __webpack_require__(0); ...@@ -1807,7 +1807,7 @@ var _Color = __webpack_require__(0);
var _Color2 = _interopRequireDefault(_Color); var _Color2 = _interopRequireDefault(_Color);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var TEXT_DECORATION_STYLE = exports.TEXT_DECORATION_STYLE = { var TEXT_DECORATION_STYLE = exports.TEXT_DECORATION_STYLE = {
SOLID: 0, SOLID: 0,
...@@ -1894,7 +1894,7 @@ var _Color = __webpack_require__(0); ...@@ -1894,7 +1894,7 @@ var _Color = __webpack_require__(0);
var _Color2 = _interopRequireDefault(_Color); var _Color2 = _interopRequireDefault(_Color);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var BORDER_STYLE = exports.BORDER_STYLE = { var BORDER_STYLE = exports.BORDER_STYLE = {
NONE: 0, NONE: 0,
...@@ -2080,7 +2080,7 @@ var _listStyle = __webpack_require__(8); ...@@ -2080,7 +2080,7 @@ var _listStyle = __webpack_require__(8);
var _Unicode = __webpack_require__(24); var _Unicode = __webpack_require__(24);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// Margin between the enumeration and the list item content // Margin between the enumeration and the list item content
var MARGIN_RIGHT = 7; var MARGIN_RIGHT = 7;
...@@ -2394,7 +2394,7 @@ var _Path = __webpack_require__(6); ...@@ -2394,7 +2394,7 @@ var _Path = __webpack_require__(6);
var _textDecoration = __webpack_require__(11); var _textDecoration = __webpack_require__(11);
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var addColorStops = function addColorStops(gradient, canvasGradient) { var addColorStops = function addColorStops(gradient, canvasGradient) {
var maxStop = Math.max.apply(null, gradient.colorStops.map(function (colorStop) { var maxStop = Math.max.apply(null, gradient.colorStops.map(function (colorStop) {
...@@ -2650,7 +2650,7 @@ Object.defineProperty(exports, "__esModule", { ...@@ -2650,7 +2650,7 @@ Object.defineProperty(exports, "__esModule", {
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Logger = function () { var Logger = function () {
function Logger(enabled, id, start) { function Logger(enabled, id, start) {
...@@ -2717,7 +2717,7 @@ var _Length = __webpack_require__(2); ...@@ -2717,7 +2717,7 @@ var _Length = __webpack_require__(2);
var _Length2 = _interopRequireDefault(_Length); var _Length2 = _interopRequireDefault(_Length);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var PADDING_SIDES = exports.PADDING_SIDES = { var PADDING_SIDES = exports.PADDING_SIDES = {
TOP: 0, TOP: 0,
...@@ -2864,7 +2864,7 @@ var _TextBounds = __webpack_require__(22); ...@@ -2864,7 +2864,7 @@ var _TextBounds = __webpack_require__(22);
var _Util = __webpack_require__(4); var _Util = __webpack_require__(4);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var INPUT_COLOR = exports.INPUT_COLOR = new _Color2.default([42, 42, 42]); var INPUT_COLOR = exports.INPUT_COLOR = new _Color2.default([42, 42, 42]);
var INPUT_BORDER_COLOR = new _Color2.default([165, 165, 165]); var INPUT_BORDER_COLOR = new _Color2.default([165, 165, 165]);
...@@ -2972,9 +2972,9 @@ var _Feature2 = _interopRequireDefault(_Feature); ...@@ -2972,9 +2972,9 @@ var _Feature2 = _interopRequireDefault(_Feature);
var _Unicode = __webpack_require__(24); var _Unicode = __webpack_require__(24);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var TextBounds = exports.TextBounds = function TextBounds(text, bounds) { var TextBounds = exports.TextBounds = function TextBounds(text, bounds) {
_classCallCheck(this, TextBounds); _classCallCheck(this, TextBounds);
...@@ -3047,7 +3047,7 @@ Object.defineProperty(exports, "__esModule", { ...@@ -3047,7 +3047,7 @@ Object.defineProperty(exports, "__esModule", {
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var ForeignObjectRenderer = function () { var ForeignObjectRenderer = function () {
function ForeignObjectRenderer(element) { function ForeignObjectRenderer(element) {
...@@ -3152,7 +3152,7 @@ var _NodeContainer2 = _interopRequireDefault(_NodeContainer); ...@@ -3152,7 +3152,7 @@ var _NodeContainer2 = _interopRequireDefault(_NodeContainer);
var _overflowWrap = __webpack_require__(18); var _overflowWrap = __webpack_require__(18);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var breakWords = exports.breakWords = function breakWords(str, parent) { var breakWords = exports.breakWords = function breakWords(str, parent) {
var breaker = (0, _cssLineBreak.LineBreaker)(str, { var breaker = (0, _cssLineBreak.LineBreaker)(str, {
...@@ -3186,7 +3186,7 @@ var _createClass = function () { function defineProperties(target, props) { for ...@@ -3186,7 +3186,7 @@ var _createClass = function () { function defineProperties(target, props) { for
var _Util = __webpack_require__(4); var _Util = __webpack_require__(4);
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var SAMPLE_TEXT = 'Hidden Text'; var SAMPLE_TEXT = 'Hidden Text';
...@@ -3279,7 +3279,7 @@ var _Feature = __webpack_require__(10); ...@@ -3279,7 +3279,7 @@ var _Feature = __webpack_require__(10);
var _Feature2 = _interopRequireDefault(_Feature); var _Feature2 = _interopRequireDefault(_Feature);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var Proxy = exports.Proxy = function Proxy(src, options) { var Proxy = exports.Proxy = function Proxy(src, options) {
if (!options.proxy) { if (!options.proxy) {
...@@ -3357,7 +3357,7 @@ var _Window = __webpack_require__(28); ...@@ -3357,7 +3357,7 @@ var _Window = __webpack_require__(28);
var _Bounds = __webpack_require__(1); var _Bounds = __webpack_require__(1);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var html2canvas = function html2canvas(element, conf) { var html2canvas = function html2canvas(element, conf) {
// eslint-disable-next-line no-console // eslint-disable-next-line no-console
...@@ -3469,7 +3469,7 @@ var _Color = __webpack_require__(0); ...@@ -3469,7 +3469,7 @@ var _Color = __webpack_require__(0);
var _Color2 = _interopRequireDefault(_Color); var _Color2 = _interopRequireDefault(_Color);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var renderElement = exports.renderElement = function renderElement(element, options, logger) { var renderElement = exports.renderElement = function renderElement(element, options, logger) {
var ownerDocument = element.ownerDocument; var ownerDocument = element.ownerDocument;
...@@ -3595,7 +3595,7 @@ var _ListItem = __webpack_require__(14); ...@@ -3595,7 +3595,7 @@ var _ListItem = __webpack_require__(14);
var _listStyle = __webpack_require__(8); var _listStyle = __webpack_require__(8);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var NodeParser = exports.NodeParser = function NodeParser(node, resourceLoader, logger) { var NodeParser = exports.NodeParser = function NodeParser(node, resourceLoader, logger) {
if (true) { if (true) {
...@@ -3713,9 +3713,9 @@ var _NodeContainer2 = _interopRequireDefault(_NodeContainer); ...@@ -3713,9 +3713,9 @@ var _NodeContainer2 = _interopRequireDefault(_NodeContainer);
var _position = __webpack_require__(19); var _position = __webpack_require__(19);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var StackingContext = function () { var StackingContext = function () {
function StackingContext(container, parent, treatAsRealStackingContext) { function StackingContext(container, parent, treatAsRealStackingContext) {
...@@ -3756,7 +3756,7 @@ Object.defineProperty(exports, "__esModule", { ...@@ -3756,7 +3756,7 @@ Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Size = function Size(width, height) { var Size = function Size(width, height) {
_classCallCheck(this, Size); _classCallCheck(this, Size);
...@@ -3786,9 +3786,9 @@ var _Vector = __webpack_require__(7); ...@@ -3786,9 +3786,9 @@ var _Vector = __webpack_require__(7);
var _Vector2 = _interopRequireDefault(_Vector); var _Vector2 = _interopRequireDefault(_Vector);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var lerp = function lerp(a, b, t) { var lerp = function lerp(a, b, t) {
return new _Vector2.default(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t); return new _Vector2.default(a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t);
...@@ -3846,7 +3846,7 @@ var _Length = __webpack_require__(2); ...@@ -3846,7 +3846,7 @@ var _Length = __webpack_require__(2);
var _Length2 = _interopRequireDefault(_Length); var _Length2 = _interopRequireDefault(_Length);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var SIDES = ['top-left', 'top-right', 'bottom-right', 'bottom-left']; var SIDES = ['top-left', 'top-right', 'bottom-right', 'bottom-left'];
...@@ -4110,7 +4110,7 @@ var _Length = __webpack_require__(2); ...@@ -4110,7 +4110,7 @@ var _Length = __webpack_require__(2);
var _Length2 = _interopRequireDefault(_Length); var _Length2 = _interopRequireDefault(_Length);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var SIDES = ['top', 'right', 'bottom', 'left']; var SIDES = ['top', 'right', 'bottom', 'left'];
...@@ -4167,7 +4167,7 @@ var _Color = __webpack_require__(0); ...@@ -4167,7 +4167,7 @@ var _Color = __webpack_require__(0);
var _Color2 = _interopRequireDefault(_Color); var _Color2 = _interopRequireDefault(_Color);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var NUMBER = /^([+-]|\d|\.)$/i; var NUMBER = /^([+-]|\d|\.)$/i;
...@@ -4268,7 +4268,7 @@ var _Length = __webpack_require__(2); ...@@ -4268,7 +4268,7 @@ var _Length = __webpack_require__(2);
var _Length2 = _interopRequireDefault(_Length); var _Length2 = _interopRequireDefault(_Length);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var toFloat = function toFloat(s) { var toFloat = function toFloat(s) {
return parseFloat(s.trim()); return parseFloat(s.trim());
...@@ -4458,11 +4458,11 @@ var _linebreakTrie2 = _interopRequireDefault(_linebreakTrie); ...@@ -4458,11 +4458,11 @@ var _linebreakTrie2 = _interopRequireDefault(_linebreakTrie);
var _Util = __webpack_require__(13); var _Util = __webpack_require__(13);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var LETTER_NUMBER_MODIFIER = exports.LETTER_NUMBER_MODIFIER = 50; var LETTER_NUMBER_MODIFIER = exports.LETTER_NUMBER_MODIFIER = 50;
...@@ -5065,7 +5065,7 @@ var _createClass = function () { function defineProperties(target, props) { for ...@@ -5065,7 +5065,7 @@ var _createClass = function () { function defineProperties(target, props) { for
var _Util = __webpack_require__(13); var _Util = __webpack_require__(13);
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
/** Shift size for getting the index-2 table offset. */ /** Shift size for getting the index-2 table offset. */
var UTRIE2_SHIFT_2 = exports.UTRIE2_SHIFT_2 = 5; var UTRIE2_SHIFT_2 = exports.UTRIE2_SHIFT_2 = 5;
...@@ -5236,7 +5236,7 @@ Object.defineProperty(exports, "__esModule", { ...@@ -5236,7 +5236,7 @@ Object.defineProperty(exports, "__esModule", {
var _Path = __webpack_require__(6); var _Path = __webpack_require__(6);
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Circle = function Circle(x, y, radius) { var Circle = function Circle(x, y, radius) {
_classCallCheck(this, Circle); _classCallCheck(this, Circle);
...@@ -5289,9 +5289,9 @@ var _background = __webpack_require__(5); ...@@ -5289,9 +5289,9 @@ var _background = __webpack_require__(5);
var _border = __webpack_require__(12); var _border = __webpack_require__(12);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Renderer = function () { var Renderer = function () {
function Renderer(target, options) { function Renderer(target, options) {
...@@ -5624,9 +5624,9 @@ var _Length2 = _interopRequireDefault(_Length); ...@@ -5624,9 +5624,9 @@ var _Length2 = _interopRequireDefault(_Length);
var _Util = __webpack_require__(4); var _Util = __webpack_require__(4);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var SIDE_OR_CORNER = /^(to )?(left|top|right|bottom)( (left|top|right|bottom))?$/i; var SIDE_OR_CORNER = /^(to )?(left|top|right|bottom)( (left|top|right|bottom))?$/i;
var PERCENTAGE_ANGLES = /^([+-]?\d*\.?\d+)% ([+-]?\d*\.?\d+)%$/i; var PERCENTAGE_ANGLES = /^([+-]?\d*\.?\d+)% ([+-]?\d*\.?\d+)%$/i;
...@@ -6113,9 +6113,9 @@ var _CanvasRenderer2 = _interopRequireDefault(_CanvasRenderer); ...@@ -6113,9 +6113,9 @@ var _CanvasRenderer2 = _interopRequireDefault(_CanvasRenderer);
var _PseudoNodeContent = __webpack_require__(56); var _PseudoNodeContent = __webpack_require__(56);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var IGNORE_ATTRIBUTE = 'data-html2canvas-ignore'; var IGNORE_ATTRIBUTE = 'data-html2canvas-ignore';
...@@ -6668,9 +6668,9 @@ var _Feature2 = _interopRequireDefault(_Feature); ...@@ -6668,9 +6668,9 @@ var _Feature2 = _interopRequireDefault(_Feature);
var _Proxy = __webpack_require__(26); var _Proxy = __webpack_require__(26);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var ResourceLoader = function () { var ResourceLoader = function () {
function ResourceLoader(options, logger, window) { function ResourceLoader(options, logger, window) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment