mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Deploying to gh-pages from @ 7c3269bdbe 🚀
This commit is contained in:
24
dist/lib/dom/__mocks__/document-cloner.js
vendored
Normal file
24
dist/lib/dom/__mocks__/document-cloner.js
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DocumentCloner = void 0;
|
||||
var DocumentCloner = /** @class */ (function () {
|
||||
function DocumentCloner() {
|
||||
this.clonedReferenceElement = {
|
||||
ownerDocument: {
|
||||
defaultView: {
|
||||
pageXOffset: 12,
|
||||
pageYOffset: 34
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
DocumentCloner.prototype.toIFrame = function () {
|
||||
return Promise.resolve({});
|
||||
};
|
||||
DocumentCloner.destroy = function () {
|
||||
return true;
|
||||
};
|
||||
return DocumentCloner;
|
||||
}());
|
||||
exports.DocumentCloner = DocumentCloner;
|
||||
//# sourceMappingURL=document-cloner.js.map
|
||||
1
dist/lib/dom/__mocks__/document-cloner.js.map
vendored
Normal file
1
dist/lib/dom/__mocks__/document-cloner.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"document-cloner.js","sourceRoot":"","sources":["../../../../src/dom/__mocks__/document-cloner.ts"],"names":[],"mappings":";;;AAAA;IAGI;QACI,IAAI,CAAC,sBAAsB,GAAG;YAC1B,aAAa,EAAE;gBACX,WAAW,EAAE;oBACT,WAAW,EAAE,EAAE;oBACf,WAAW,EAAE,EAAE;iBAClB;aACJ;SACW,CAAC;IACrB,CAAC;IAED,iCAAQ,GAAR;QACI,OAAO,OAAO,CAAC,OAAO,CAAC,EAAuB,CAAC,CAAC;IACpD,CAAC;IAEM,sBAAO,GAAd;QACI,OAAO,IAAI,CAAC;IAChB,CAAC;IACL,qBAAC;AAAD,CAAC,AArBD,IAqBC;AArBY,wCAAc"}
|
||||
Reference in New Issue
Block a user