Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Commit

Permalink
load the demo's dependency javascript before the demo's own javascrip…
Browse files Browse the repository at this point in the history
…t to ensure the dependecies are available to be used
  • Loading branch information
JakeChampion committed May 21, 2021
1 parent 2f06fda commit 515d72a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/page.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
<script src="{{{oDemoPolyfillUrl}}}"></script>
{{/oDemoPolyfillUrl}}

{{#oDemoComponentScriptPath}}
<script src="{{{ oDemoComponentScriptPath }}}" defer></script>
{{/oDemoComponentScriptPath}}

{{#oDemoDependenciesScriptPath}}
<script src="{{{ oDemoDependenciesScriptPath }}}" defer></script>
{{/oDemoDependenciesScriptPath}}

{{#oDemoComponentScriptPath}}
<script src="{{{ oDemoComponentScriptPath }}}" defer></script>
{{/oDemoComponentScriptPath}}

{{#oDemoDependenciesStylePath}}
<link rel="stylesheet" href="{{{.}}}" />
{{/oDemoDependenciesStylePath}}
Expand Down

0 comments on commit 515d72a

Please sign in to comment.