the end?
This commit is contained in:
parent
25333c650b
commit
184c88c097
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
BIN
public/sw.js.gz
BIN
public/sw.js.gz
Binary file not shown.
|
@ -75,7 +75,7 @@ export class Layouter {
|
|||
}
|
||||
|
||||
private layoutThree(): ReturnType<Layouter['layout']> {
|
||||
console.log('layoutThree:', this);
|
||||
//console.log('layoutThree:', this);
|
||||
if(this.proportions[0] == 'n') {
|
||||
return this.layoutThreeLeftAndOther();
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ export default class AppEditProfileTab implements SliderTab {
|
|||
this.userNameInput.addEventListener('input', () => {
|
||||
let value = this.userNameInput.value;
|
||||
|
||||
console.log('userNameInput:', value);
|
||||
//console.log('userNameInput:', value);
|
||||
if(value == this.originalValues.userName || !value.length) {
|
||||
this.userNameInput.classList.remove('valid', 'error');
|
||||
userNameLabel.innerText = 'Username (optional)';
|
||||
|
|
|
@ -326,7 +326,7 @@ export class AppInlineBotsManager {
|
|||
toast(RichTextProcessor.wrapRichText(callbackAnswer.message, {noLinks: true, noLinebreaks: true}));
|
||||
}
|
||||
|
||||
console.log('callbackButtonClick callbackAnswer:', callbackAnswer);
|
||||
//console.log('callbackButtonClick callbackAnswer:', callbackAnswer);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ export class AppChatsManager {
|
|||
switch(update._) {
|
||||
case 'updateChannel':
|
||||
const channelID = update.channel_id;
|
||||
console.log('updateChannel:', update);
|
||||
//console.log('updateChannel:', update);
|
||||
$rootScope.$broadcast('channel_settings', {channelID: channelID});
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -348,7 +348,7 @@ export default class VideoPlayer {
|
|||
onScrub: currentTime => {
|
||||
const value = Math.max(Math.min(currentTime, 1), 0);
|
||||
|
||||
console.log('volume scrub:', currentTime, value);
|
||||
//console.log('volume scrub:', currentTime, value);
|
||||
|
||||
video.muted = false;
|
||||
video.volume = value;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import AppStorage from '../storage';
|
||||
import { nextRandomInt, longFromInts, dT } from '../bin_utils';
|
||||
import { nextRandomInt, longFromInts } from '../bin_utils';
|
||||
|
||||
export class TimeManager {
|
||||
private lastMessageID = [0, 0];
|
||||
|
@ -41,7 +41,7 @@ export class TimeManager {
|
|||
|
||||
this.lastMessageID = [0, 0];
|
||||
this.timeOffset = newTimeOffset;
|
||||
console.log(dT(), 'Apply server time', serverTime, localTime, newTimeOffset, changed);
|
||||
//console.log(dT(), 'Apply server time', serverTime, localTime, newTimeOffset, changed);
|
||||
|
||||
return changed;
|
||||
}
|
||||
|
|
|
@ -200,9 +200,9 @@ type BroadcastEvents = {
|
|||
|
||||
export const $rootScope = {
|
||||
$broadcast: <T extends keyof BroadcastEvents>(name: T, detail?: BroadcastEvents[T]) => {
|
||||
if(name != 'user_update') {
|
||||
/* if(name != 'user_update') {
|
||||
console.debug(dT(), 'Broadcasting ' + name + ' event, with args:', detail);
|
||||
}
|
||||
} */
|
||||
|
||||
let myCustomEvent = new CustomEvent(name, {detail});
|
||||
document.dispatchEvent(myCustomEvent);
|
||||
|
|
|
@ -168,7 +168,7 @@ let cachedPromise: Promise<() => Promise<void>>;
|
|||
const page = new Page('page-signQR', true, () => {
|
||||
return cachedPromise;
|
||||
}, () => {
|
||||
console.log('onMount');
|
||||
//console.log('onMount');
|
||||
if(!cachedPromise) cachedPromise = onFirstMount();
|
||||
cachedPromise.then(func => {
|
||||
func();
|
||||
|
|
|
@ -38,13 +38,13 @@ let onFirstMount = () => import('../lib/appManagers/appProfileManager').then(imp
|
|||
|
||||
let sendAvatar = () => new Promise((resolve, reject) => {
|
||||
if(!uploadAvatar) {
|
||||
console.log('User has not selected avatar');
|
||||
//console.log('User has not selected avatar');
|
||||
return resolve();
|
||||
}
|
||||
|
||||
console.log('invoking uploadFile...');
|
||||
//console.log('invoking uploadFile...');
|
||||
uploadAvatar().then((inputFile: any) => {
|
||||
console.log('uploaded smthn', inputFile);
|
||||
//console.log('uploaded smthn', inputFile);
|
||||
|
||||
appProfileManager.uploadProfilePhoto(inputFile).then(resolve, reject);
|
||||
}, reject);
|
||||
|
@ -75,14 +75,14 @@ let onFirstMount = () => import('../lib/appManagers/appProfileManager').then(imp
|
|||
'last_name': lastName
|
||||
};
|
||||
|
||||
console.log('invoking auth.signUp with params:', params);
|
||||
//console.log('invoking auth.signUp with params:', params);
|
||||
|
||||
this.textContent = 'PLEASE WAIT...';
|
||||
putPreloader(this);
|
||||
|
||||
apiManager.invokeApi('auth.signUp', params)
|
||||
.then((response: any) => {
|
||||
console.log('auth.signUp response:', response);
|
||||
//console.log('auth.signUp response:', response);
|
||||
|
||||
switch(response._) {
|
||||
case 'auth.authorization': // success
|
||||
|
|
Loading…
Reference in New Issue
Block a user