Skip to content

Commit

Permalink
chore: builds examples
Browse files Browse the repository at this point in the history
  • Loading branch information
HoyosJuan committed May 27, 2024
1 parent 048cae3 commit 66cc89a
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion examples/ClassificationsTree/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/index-B0-P1mHm.js">
<link rel="modulepreload" crossorigin href="../assets/index-BILClfca.js">
<link rel="modulepreload" crossorigin href="../assets/index-CMACVayo.js">
<link rel="modulepreload" crossorigin href="../assets/index-DRtlnmbb.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/ElementProperties/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/index-B0-P1mHm.js">
<link rel="modulepreload" crossorigin href="../assets/index-fPhLdcPC.js">
<link rel="modulepreload" crossorigin href="../assets/index-CMACVayo.js">
<link rel="modulepreload" crossorigin href="../assets/index-DRtlnmbb.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/EntityAttributes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/index-B0-P1mHm.js">
<link rel="modulepreload" crossorigin href="../assets/index-fPhLdcPC.js">
<link rel="modulepreload" crossorigin href="../assets/index-CMACVayo.js">
<link rel="modulepreload" crossorigin href="../assets/index-DRtlnmbb.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/ModelsList/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/index-B0-P1mHm.js">
<link rel="modulepreload" crossorigin href="../assets/index-BILClfca.js">
<link rel="modulepreload" crossorigin href="../assets/index-CMACVayo.js">
<link rel="modulepreload" crossorigin href="../assets/index-DRtlnmbb.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/RelationsTree/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<link rel="modulepreload" crossorigin href="../assets/modulepreload-polyfill-B5Qt9EMX.js">
<link rel="modulepreload" crossorigin href="../assets/index-B0-P1mHm.js">
<link rel="modulepreload" crossorigin href="../assets/index-BILClfca.js">
<link rel="modulepreload" crossorigin href="../assets/index-CMACVayo.js">
<link rel="modulepreload" crossorigin href="../assets/index-DRtlnmbb.js">
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/assets/classificationsTree.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import"./modulepreload-polyfill-B5Qt9EMX.js";import{p as m,f as d,a as l,s as f,i as b,k as u,N as w,m as g,u as y,b2 as T,e as v,g as C}from"./index-B0-P1mHm.js";import{b as E}from"./index-BILClfca.js";import{t as L}from"./index-CMACVayo.js";m.init();const e=new d,n=document.createElement("bim-viewport");n.name="viewer";const I=e.get(l),s=I.create(),o=new f(e);o.setup();s.scene=o;const c=new b(e,n);s.renderer=c;const r=new u(e);s.camera=r;n.addEventListener("resize",()=>{c.resize(),r.updateAspect()});const $=e.get(w);$.create(s);e.init();const k=e.get(g);await k.setup();const p=e.get(y);p.onFragmentsLoaded.add(t=>{s.scene&&s.scene.three.add(t)});const[z,F]=L.classificationTree({components:e,classifications:{}}),i=e.get(T);p.onFragmentsLoaded.add(async t=>{i.byEntity(t),await i.byPredefinedType(t),F({classifications:{Entities:["entities","predefinedTypes"],"Predefined Types":["predefinedTypes"]}})});const N=v.create(()=>{const[t]=E.loadIfc({components:e});return C`
import"./modulepreload-polyfill-B5Qt9EMX.js";import{p as m,f as d,a as l,s as f,i as b,k as u,N as w,m as g,u as y,b2 as T,e as v,g as C}from"./index-B0-P1mHm.js";import{b as E}from"./index-BILClfca.js";import{t as L}from"./index-DRtlnmbb.js";m.init();const e=new d,n=document.createElement("bim-viewport");n.name="viewer";const I=e.get(l),s=I.create(),o=new f(e);o.setup();s.scene=o;const c=new b(e,n);s.renderer=c;const r=new u(e);s.camera=r;n.addEventListener("resize",()=>{c.resize(),r.updateAspect()});const $=e.get(w);$.create(s);e.init();const k=e.get(g);await k.setup();const p=e.get(y);p.onFragmentsLoaded.add(t=>{s.scene&&s.scene.three.add(t)});const[z,F]=L.classificationTree({components:e,classifications:{}}),i=e.get(T);p.onFragmentsLoaded.add(async t=>{i.byEntity(t),await i.byPredefinedType(t),F({classifications:{Entities:["entities","predefinedTypes"],"Predefined Types":["predefinedTypes"]}})});const N=v.create(()=>{const[t]=E.loadIfc({components:e});return C`
<bim-panel label="Classifications Tree">
<bim-panel-section label="Importing">
${t}
Expand Down
8 changes: 4 additions & 4 deletions examples/assets/elementProperties.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/assets/entityAttributes.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 66cc89a

Please sign in to comment.