require('script!./inputs.js');
require('script!./jquery-isolated-scroll.js');
require('script!./application.js');
+
+window.$j = jQuery.noConflict();
+
+jQuery(function () {
+ jQuery('.open-modal').modal();
+});
+
+window.sonarqube = {};
+window.sonarqube.el = '#content';
<script src="<%= ApplicationController.root_context -%>/js/bundles/vendor.js?v=<%= sonar_version -%>"></script>
<script src="<%= ApplicationController.root_context -%>/js/bundles/sonar.js?v=<%= sonar_version -%>"></script>
<script>
- var baseUrl = '<%= ApplicationController.root_context -%>';
- var $j = jQuery.noConflict();
- $j(document).ready(function () {$j('.open-modal').modal()});
- </script>
- <script>
- window.sonarqube = {};
- window.sonarqube.el = '#content';
+ window.baseUrl = '<%= ApplicationController.root_context -%>';
</script>
<%= yield :script -%>
</head>