Skip to content

Commit

Permalink
extract inline script bpp.jelly
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomomdahan committed Nov 3, 2024
1 parent 7316cdd commit 86b1750
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@
<st:bind var="buildPipelineViewProxy" value="${from}" />
<span class="pipeline-refresh-frequency" data-refresh-frequency="${from.getRefreshFrequencyInMillis()}" style="display: none"/>
<st:adjunct includes="au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.build-pipeline-init"/>
<!-- <script type="text/javascript">-->
<!-- var buildCardTemplateSource = jQuery("#build-card-template").html();-->
<!-- var projectCardTemplateSource = jQuery("#project-card-template").html();-->
<!-- var buildPipeline = new BuildPipeline(buildPipelineViewProxy, Handlebars.compile(buildCardTemplateSource), Handlebars.compile(projectCardTemplateSource), ${from.getRefreshFrequencyInMillis()});-->
<!-- </script>-->

<st:include page="buildCardHelpers.jelly"
from="${from.getBuildCard()}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ function initializeBuildCards() {
});
}

document.addEventListener('DOMContentLoaded', initializeBuildCards);
document.addEventListener('DOMContentLoaded', initializeBuildCards);

0 comments on commit 86b1750

Please sign in to comment.