Skip to content
Snippets Groups Projects
Unverified Commit af08e2d0 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Fix parameter order and callback (dbp/apps/authenticdocument#2)

parent 0889858e
No related branches found
No related tags found
No related merge requests found
Pipeline #15420 passed
...@@ -36,8 +36,8 @@ export class AdapterLitElement extends LitElement { ...@@ -36,8 +36,8 @@ export class AdapterLitElement extends LitElement {
subscribeProviderFor(element) { subscribeProviderFor(element) {
console.log('AdapterLitElement subscribeProviderFor( ' + element + ' )'); console.log('AdapterLitElement subscribeProviderFor( ' + element + ' )');
const pair = element.trim().split(':'); const pair = element.trim().split(':');
const global = pair[0]; const local = pair[0];
const local = pair[1]; const global = pair[1];
const that = this; const that = this;
const event = new CustomEvent('subscribe', const event = new CustomEvent('subscribe',
{ {
...@@ -57,7 +57,7 @@ export class AdapterLitElement extends LitElement { ...@@ -57,7 +57,7 @@ export class AdapterLitElement extends LitElement {
unSubscribeProviderFor(element) { unSubscribeProviderFor(element) {
console.log('AdapterLitElement unSubscribeProviderFor( ' + element + ' )'); console.log('AdapterLitElement unSubscribeProviderFor( ' + element + ' )');
const pair = element.trim().split(':'); const pair = element.trim().split(':');
const global = pair[0]; const global = pair[1];
const event = new CustomEvent('unsubscribe', const event = new CustomEvent('unsubscribe',
{ {
bubbles: true, bubbles: true,
...@@ -101,9 +101,13 @@ export class AdapterLitElement extends LitElement { ...@@ -101,9 +101,13 @@ export class AdapterLitElement extends LitElement {
} }
} }
break; break;
default:
super.attributeChangedCallback(name, oldValue, newValue);
} }
super.attributeChangedCallback(name, oldValue, newValue); // console.log("this.lang", this.tagName, name, this.lang);
// console.log("this.entryPointUrl", this.tagName, name, this.entryPointUrl);
// console.trace();
} }
// update(changedProperties) { // update(changedProperties) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment