aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb
index de10bb9a347..f5386bde638 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/drilldown/measures.html.erb
@@ -132,3 +132,11 @@
<%= render :partial => 'footer' -%>
</div>
+
+<% content_for :extra_script do %>
+ <script>
+ require(['apps/drilldown/app'], function (App) {
+ App.start({ el: '#source-viewer' });
+ });
+ </script>
+<% end %>