mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Fix
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
* Javascript code in this page
|
||||
*/
|
||||
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
if(typeof exports === 'object' && typeof module === 'object')
|
||||
module.exports = factory();
|
||||
else if(typeof define === 'function' && define.amd)
|
||||
@@ -9928,8 +9928,6 @@ function getDocument(src) {
|
||||
source = src;
|
||||
}
|
||||
|
||||
console.log('source================================================', source)
|
||||
|
||||
var params = Object.create(null);
|
||||
var rangeTransport = null,
|
||||
worker = null;
|
||||
@@ -10002,9 +10000,7 @@ function getDocument(src) {
|
||||
}
|
||||
|
||||
(0, _util.setVerbosityLevel)(params.verbosity);
|
||||
|
||||
console.log('params=======================', params)
|
||||
|
||||
|
||||
if (!worker) {
|
||||
var workerParams = {
|
||||
verbosity: params.verbosity,
|
||||
@@ -10016,8 +10012,6 @@ function getDocument(src) {
|
||||
|
||||
var docId = task.docId;
|
||||
worker.promise.then(function () {
|
||||
|
||||
|
||||
if (task.destroyed) {
|
||||
throw new Error('Loading aborted');
|
||||
}
|
||||
|
||||
+4
-8
@@ -20,7 +20,7 @@
|
||||
* Javascript code in this page
|
||||
*/
|
||||
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
(function webpackUniversalModuleDefinition(root, factory) {
|
||||
if(typeof exports === 'object' && typeof module === 'object')
|
||||
module.exports = factory();
|
||||
else if(typeof define === 'function' && define.amd)
|
||||
@@ -2952,7 +2952,7 @@ var store = global[SHARED] || setGlobal(SHARED, {});
|
||||
})('versions', []).push({
|
||||
version: '3.2.1',
|
||||
mode: IS_PURE ? 'pure' : 'global',
|
||||
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
||||
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
@@ -6250,7 +6250,7 @@ module.exports = !fails(function () {
|
||||
var url = new URL('b?e=1', 'http://a');
|
||||
var searchParams = url.searchParams;
|
||||
url.pathname = 'c%20d';
|
||||
return IS_PURE && !url.toJSON || !searchParams.sort || url.href !== 'http://a/c%20d?e=1' || searchParams.get('e') !== '1' || String(new URLSearchParams('?a=1')) !== 'a=1' || !searchParams[ITERATOR] || new URL('https://a@b').username !== 'a' || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b' || new URL('http://тест').host !== 'xn--e1aybc' || new URL('http://a#б').hash !== '#%D0%B1';
|
||||
return IS_PURE && !url.toJSON || !searchParams.sort || url.href !== 'http://a/c%20d?e=1' || searchParams.get('e') !== '1' || String(new URLSearchParams('?a=1')) !== 'a=1' || !searchParams[ITERATOR] || new URL('https://a@b').username !== 'a' || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b' || new URL('http://теÑÑ‚').host !== 'xn--e1aybc' || new URL('http://a#б').hash !== '#%D0%B1';
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
@@ -44839,7 +44839,7 @@ var getSerifFonts = (0, _core_utils.getLookupTableFactory)(function (t) {
|
||||
t['Sylfaen'] = true;
|
||||
t['Times'] = true;
|
||||
t['Trajan'] = true;
|
||||
t['Trinité'] = true;
|
||||
t['Trinité'] = true;
|
||||
t['Trump Mediaeval'] = true;
|
||||
t['Utopia'] = true;
|
||||
t['Vale Type'] = true;
|
||||
@@ -56297,8 +56297,6 @@ function () {
|
||||
_createClass(PDFWorkerStream, [{
|
||||
key: "getFullReader",
|
||||
value: function getFullReader() {
|
||||
|
||||
console.log('getFullReader')
|
||||
(0, _util.assert)(!this._fullRequestReader);
|
||||
this._fullRequestReader = new PDFWorkerStreamReader(this._msgHandler);
|
||||
return this._fullRequestReader;
|
||||
@@ -56306,8 +56304,6 @@ function () {
|
||||
}, {
|
||||
key: "getRangeReader",
|
||||
value: function getRangeReader(begin, end) {
|
||||
|
||||
console.log('getRangeReader')
|
||||
var reader = new PDFWorkerStreamRangeReader(begin, end, this._msgHandler);
|
||||
|
||||
this._rangeRequestReaders.push(reader);
|
||||
|
||||
@@ -7,6 +7,42 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>PDF.js viewer</title>
|
||||
<link rel="stylesheet" href="viewer.css">
|
||||
|
||||
<script>
|
||||
window.parent.zipPhoneCallback('nice');
|
||||
|
||||
function setCookie(name,value,days) {
|
||||
var expires = "";
|
||||
if (days) {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + (value || "") + expires + "; path=/";
|
||||
}
|
||||
function getCookie(name) {
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++) {
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
window.addEventListener("message", (event) => {
|
||||
|
||||
console.log(event)
|
||||
if (event.data && event.data.sender == "cookies") {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<link rel="resource" type="application/l10n" href="locale/locale.properties">
|
||||
<script src="../build/pdf.js"></script>
|
||||
<script src="viewer.js"></script>
|
||||
@@ -370,16 +406,6 @@
|
||||
|
||||
</div> <!-- outerContainer -->
|
||||
<div id="printContainer"></div>
|
||||
|
||||
<script>
|
||||
window.addEventListener("message", (event) => {
|
||||
|
||||
if (event.data &&
|
||||
event.data.sender == "get_page_button1") {
|
||||
//alert("Frame window alert 2");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user