Skip to content

Commit

Permalink
0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
bahrus committed Jun 4, 2023
1 parent 677fe87 commit a9a464f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions v2/be-derived.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export class BeDerived extends BE {
const derivedObject = {};
const { childrenParsed } = await import('be-a-beacon/childrenParsed.js');
await childrenParsed(enhancedElement);
console.log('do the processing');
}
logToConsole(self) {
const { derivedObject } = self;
Expand Down
2 changes: 1 addition & 1 deletion v2/be-derived.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class BeDerived extends BE<AP, Actions> implements Actions{
const derivedObject: JSONObject = {};
const {childrenParsed} = await import('be-a-beacon/childrenParsed.js');
await childrenParsed(enhancedElement);

console.log('do the processing');
}

logToConsole(self: this): void {
Expand Down
5 changes: 3 additions & 2 deletions v2/demo/dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
<title>Document</title>
</head>
<body>
<div be-derived>
<data itemprop="count" value=30>Thirty</data>
<div itemscope be-derived>
<data be-a-beacon itemprop="count" value=30>Thirty</data>
</div>
<script type=importmap>
{
"imports": {
"be-a-beacon/": "../../node_modules/be-a-beacon/",
"be-enhanced/": "../../node_modules/be-enhanced/",
"be-hive/": "../../node_modules/be-hive/",
"trans-render/": "../../node_modules/trans-render/",
Expand Down

0 comments on commit a9a464f

Please sign in to comment.