mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
Remove relevant console log,
This commit is contained in:
@@ -55,9 +55,9 @@ function triggerOpenEvent(strMsg) {
|
||||
}
|
||||
|
||||
function onPushNotificationReceived(event) {
|
||||
console.log('Push notification received : ', event);
|
||||
|
||||
if (event.data) {
|
||||
console.log('Event data is : ', event.data.text());
|
||||
|
||||
}
|
||||
event.waitUntil(displayNotification(event).then(() => triggerSeenEvent(event.data.text())));
|
||||
};
|
||||
@@ -90,7 +90,7 @@ function send_message_to_all_clients(msg) {
|
||||
|
||||
self.addEventListener('install', function (event) {
|
||||
self.skipWaiting();
|
||||
console.log('Installed Service Worker : ', event);
|
||||
|
||||
//event.postMessage("SW Says 'Hello back!'");
|
||||
});
|
||||
|
||||
@@ -100,18 +100,18 @@ self.addEventListener('message', function (event) {
|
||||
});
|
||||
|
||||
self.addEventListener('activate', function (event) {
|
||||
console.log('Activated Service Worker : ', event);
|
||||
|
||||
event.waitUntil(self.clients.claim());
|
||||
});
|
||||
|
||||
self.addEventListener('notificationclick', function (event) {
|
||||
console.log('Notification clicked with tag' + event.notification.tag + " and data " + event.notification.data);
|
||||
|
||||
let nidjson = event.notification.data;
|
||||
event.notification.close();
|
||||
event.waitUntil(triggerOpenEvent(nidjson));
|
||||
});
|
||||
|
||||
self.addEventListener('pushsubscriptionchange', function () {
|
||||
console.log('Push Subscription change');
|
||||
|
||||
send_message_to_all_clients("updateRegistration:");
|
||||
});
|
||||
@@ -572,13 +572,13 @@ function getVerbosityLevel() {
|
||||
|
||||
function info(msg) {
|
||||
if (verbosity >= VerbosityLevel.INFOS) {
|
||||
console.log("Info: ".concat(msg));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function warn(msg) {
|
||||
if (verbosity >= VerbosityLevel.WARNINGS) {
|
||||
console.log("Warning: ".concat(msg));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13658,7 +13658,7 @@ function loadScript(src) {
|
||||
}
|
||||
|
||||
function deprecated(details) {
|
||||
console.log('Deprecated API usage: ' + details);
|
||||
|
||||
}
|
||||
|
||||
function releaseImageResources(img) {
|
||||
|
||||
+2
-2
@@ -1703,13 +1703,13 @@ function getVerbosityLevel() {
|
||||
|
||||
function info(msg) {
|
||||
if (verbosity >= VerbosityLevel.INFOS) {
|
||||
console.log("Info: ".concat(msg));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function warn(msg) {
|
||||
if (verbosity >= VerbosityLevel.WARNINGS) {
|
||||
console.log("Warning: ".concat(msg));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1452,7 +1452,7 @@
|
||||
_this5.documentInfo = info;
|
||||
_this5.metadata = metadata;
|
||||
_this5.contentDispositionFilename = contentDispositionFilename;
|
||||
console.log('PDF ' + pdfDocument.fingerprint + ' [' + info.PDFFormatVersion + ' ' + (info.Producer || '-').trim() + ' / ' + (info.Creator || '-').trim() + ']' + ' (PDF.js: ' + (_pdfjsLib.version || '-') + (_app_options.AppOptions.get('enableWebGL') ? ' [WebGL]' : '') + ')');
|
||||
|
||||
var pdfTitle;
|
||||
|
||||
if (metadata && metadata.has('dc:title')) {
|
||||
@@ -14756,7 +14756,7 @@
|
||||
var dict = getL10nDictionary();
|
||||
|
||||
if (dict && dict.locales && dict.default_locale) {
|
||||
console.log('using the embedded JSON directory, early way out');
|
||||
|
||||
gL10nData = dict.locales[lang];
|
||||
|
||||
if (!gL10nData) {
|
||||
@@ -14776,7 +14776,7 @@
|
||||
|
||||
callback();
|
||||
} else {
|
||||
console.log('no resource to load, early way out');
|
||||
|
||||
}
|
||||
|
||||
gReadyState = 'complete';
|
||||
@@ -15233,7 +15233,7 @@
|
||||
return gL10nData[arg];
|
||||
}
|
||||
|
||||
console.log('argument {{' + arg + '}} for #' + key + ' is undefined.');
|
||||
|
||||
return matched_text;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user