-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
52 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule be-enhanced
updated
from 920e57 to cc2639
Submodule be-hive
added at
f37b05
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
import { register } from 'be-hive/register.js'; | ||
//import {register} from 'be-hive/register.js'; | ||
//import {tagName } from './be-a-beacon.js'; | ||
import { BeABeacon } from './be-a-beacon.js'; | ||
import { def } from 'trans-render/lib/def.js'; | ||
import { BeHive } from 'be-hive/be-hive.js'; | ||
await BeABeacon.bootUp(); | ||
def('be-a-beacon', BeABeacon); | ||
const ifWantsToBe = 'a-beacon'; | ||
const upgrade = '*'; | ||
register(ifWantsToBe, upgrade, 'be-a-beacon'); | ||
BeHive.registry.register({ | ||
base: 'be-a-beacon', | ||
do: { | ||
mount: { | ||
import: async () => { | ||
const { BeABeacon } = await import('./be-a-beacon.js'); | ||
return BeABeacon; | ||
} | ||
} | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
import {register} from 'be-hive/register.js'; | ||
//import {register} from 'be-hive/register.js'; | ||
//import {tagName } from './be-a-beacon.js'; | ||
import {BeABeacon} from './be-a-beacon.js'; | ||
import {def} from 'trans-render/lib/def.js'; | ||
import {BeHive} from 'be-hive/be-hive.js' | ||
|
||
await BeABeacon.bootUp(); | ||
|
||
def('be-a-beacon', BeABeacon); | ||
|
||
const ifWantsToBe = 'a-beacon'; | ||
const upgrade = '*'; | ||
BeHive.registry.register({ | ||
base: 'be-a-beacon', | ||
do:{ | ||
mount:{ | ||
import: async () => { | ||
const {BeABeacon} = await import('./be-a-beacon.js'); | ||
return BeABeacon; | ||
} | ||
} | ||
} | ||
}); | ||
|
||
register(ifWantsToBe, upgrade, 'be-a-beacon'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule mount-observer
added at
d1146a
Submodule trans-render
added at
a57ac1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters