Skip to content

Commit

Permalink
0.0.47
Browse files Browse the repository at this point in the history
  • Loading branch information
bahrus committed Jun 12, 2024
1 parent 8ec2574 commit e4bbc9f
Show file tree
Hide file tree
Showing 8 changed files with 108 additions and 166 deletions.
6 changes: 4 additions & 2 deletions be-written.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { config as beCnfg } from 'be-enhanced/config.js';
import { BE } from 'be-enhanced/BE.js';
export class BeWritten extends BE {
class BeWritten extends BE {
static config = {
propDefaults: {
to: '.',
Expand Down Expand Up @@ -109,7 +109,7 @@ export class BeWritten extends BE {
enhancedElement.classList.remove('be-written-in-progress');
}
if (beBased) {
target.beEnhanced.beBased.disconnect();
target.beEnhanced.beBased.disconnect(target);
}
return {
resolved: true,
Expand All @@ -126,5 +126,7 @@ export class BeWritten extends BE {
return false;
}
}
await BeWritten.bootUp();
const lowerCaseRe = /^[a-zA-Z]/;
const alreadyRequested = new Set();
export { BeWritten };
10 changes: 7 additions & 3 deletions be-written.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { StreamOrator } from 'stream-orator/StreamOrator.js';
import {EndUserProps as BeBasedEndUserProps} from 'be-based/types';


export class BeWritten extends BE implements Actions{
class BeWritten extends BE implements Actions{
static override config: BEConfig<AP & BEAllProps, Actions & IEnhancement, any> = {
propDefaults:{
to: '.',
Expand Down Expand Up @@ -142,8 +142,12 @@ export class BeWritten extends BE implements Actions{
}
}

export interface BeWritten extends AP{}
interface BeWritten extends AP{}

await BeWritten.bootUp();

const lowerCaseRe = /^[a-zA-Z]/;

const alreadyRequested = new Set<string>();
const alreadyRequested = new Set<string>();

export {BeWritten}
5 changes: 0 additions & 5 deletions behance.js

This file was deleted.

7 changes: 0 additions & 7 deletions behance.ts

This file was deleted.

2 changes: 1 addition & 1 deletion behivior.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const emc = {
},
enhPropKey: 'beWritten',
importEnh: async () => {
const { BeWritten } = await import('./behance.js');
const { BeWritten } = await import('./be-written.js');
return BeWritten;
}
};
Expand Down
8 changes: 4 additions & 4 deletions behivior.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import {BeHive, EnhancementMountCnfg} from 'be-hive/be-hive.js';
import {BeHive, EMC} from 'be-hive/be-hive.js';
import {MountObserver, MOSE} from 'mount-observer/MountObserver.js';

const base = 'be-written';
export const emc: EnhancementMountCnfg = {
export const emc: EMC = {
base,
map: {
'0.0': 'from'
},
enhPropKey: 'beWritten',
importEnh: async () => {
const {BeWritten} = await import('./behance.js');
const {BeWritten} = await import('./be-written.js');
return BeWritten;
}
};

const mose = document.createElement('script') as MOSE<EnhancementMountCnfg>;
const mose = document.createElement('script') as MOSE<EMC>;
mose.id = base;
mose.synConfig = emc;

Expand Down
Loading

0 comments on commit e4bbc9f

Please sign in to comment.