Skip to content

Commit

Permalink
fix: update configuration for bootstrap js - Meeds-io/MIPs#134
Browse files Browse the repository at this point in the history
Before this fix, bootstrap js are not loaded because the configuration is in eXoResources webapp as js files are in eXoSkin webapp.
This commit moves the configuration in eXo Skin webapp
  • Loading branch information
rdenarie committed Aug 23, 2024
1 parent 3e58f30 commit 8deb9c4
Show file tree
Hide file tree
Showing 2 changed files with 240 additions and 240 deletions.
240 changes: 0 additions & 240 deletions web/eXoResources/src/main/webapp/WEB-INF/gatein-resources.xml
Original file line number Diff line number Diff line change
Expand Up @@ -284,246 +284,6 @@
</depends>
</module>

<!-- Twitter Bootstrap bootstrap-affix plugin -->
<module>
<name>bts_affix</name>
<load-group>bts</load-group>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-affix.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>jquery</module>
</depends>
</module>

<!-- Twitter Bootstrap bootstrap-alert plugin -->
<module>
<name>bts_alert</name>
<load-group>bts</load-group>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-alert.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>jquery</module>
</depends>
</module>

<!-- Twitter Boostrap bootstrap-button plugin -->
<module>
<name>bts_button</name>
<load-group>bts</load-group>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-button.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>jquery</module>
</depends>
</module>

<!-- Twitter Bootstrap bootstrap-carousel plugin -->
<module>
<name>bts_carousel</name>
<load-group>bts</load-group>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-carousel.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>jquery</module>
</depends>
</module>

<!-- Twitter Bootstrap bootstrap-collapse plugin -->
<module>
<name>bts_collapse</name>
<load-group>bts</load-group>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-collapse.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>jquery</module>
</depends>
</module>

<!-- Twitter Bootstrap bootstrap-dropdown plugin -->
<module>
<name>bts_dropdown</name>
<load-group>bts</load-group>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-dropdown.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>jquery</module>
</depends>
</module>

<!-- Twitter Bootstrap bootstrap-modal plugin -->
<module>
<name>bts_modal</name>
<load-group>bts</load-group>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-modal.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>jquery</module>
</depends>
</module>

<!-- WebUI-EXT Javascripts -->
<!-- Twitter Bootstrap bootstrap-popover plugin -->
<module>
<name>bts_popover</name>
<load-group>bts</load-group>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-popover.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>bts_tooltip</module>
</depends>
<depends>
<module>jquery</module>
</depends>
</module>

<!-- Twitter Bootstrap bootstrap-scrollspy plugin -->
<module>
<name>bts_scrollspy</name>
<load-group>bts</load-group>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-scrollspy.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>jquery</module>
</depends>
</module>

<!-- Twitter Bootstrap bootstrap-tab plugin -->
<module>
<name>bts_tab</name>
<load-group>bts</load-group>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-tab.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>jquery</module>
</depends>
</module>

<!-- Twitter Bootstrap bootstrap-tooltip plugin -->
<module>
<name>bts_tooltip</name>
<load-group>bts</load-group>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-tooltip.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>jquery</module>
</depends>
</module>

<!--
Twitter Bootstrap bootstrap-transition plugin
firefox 18 and chrome 23 transitionend event is not dispatched correctly
-->
<module>
<name>bts_transition</name>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-transition.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>jquery</module>
</depends>
</module>

<!-- Twitter Bootstrap bootstrap-typeahead plugin -->
<module>
<name>bts_typeahead</name>
<load-group>bts</load-group>
<script>
<adapter>
(function($) {
var _$ = window.jQuery; window.jQuery = $;
<include>/skin/bootstrap/js/bootstrap-typeahead.js</include>
window.jQuery = _$;
})($);
</adapter>
</script>
<depends>
<module>jquery</module>
</depends>
</module>

<!-- JQuery perfect scrollbar plugin -->
<module>
<name>jq_perfect_scrollbar</name>
Expand Down
Loading

0 comments on commit 8deb9c4

Please sign in to comment.