Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion build/build-modules-js/build-bootstrap-js.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const build = async () => {
'node_modules/bootstrap/js/src/dom/manipulator.js',
'node_modules/bootstrap/js/src/dom/selector-engine.js',
'node_modules/bootstrap/js/src/util/index.js',
'build/media_source/vendor/bootstrap/js/nojquerymode.es6.js',
],
},
});
Expand Down
3 changes: 1 addition & 2 deletions build/media_source/vendor/bootstrap/js/alert.es6.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import nojQueryMode from './nojquerymode.es6';
import Alert from '../../../../../node_modules/bootstrap/js/src/alert';

window.bootstrap = window.bootstrap || {};
window.bootstrap.Alert = Alert;

if (nojQueryMode && Joomla && Joomla.getOptions) {
if (Joomla && Joomla.getOptions) {
// Get the elements/configurations from the PHP
const alerts = Joomla.getOptions('bootstrap.alert');
// Initialise the elements
Expand Down
3 changes: 1 addition & 2 deletions build/media_source/vendor/bootstrap/js/button.es6.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import nojQueryMode from './nojquerymode.es6';
import Button from '../../../../../node_modules/bootstrap/js/src/button';

window.bootstrap = window.bootstrap || {};
window.bootstrap.Button = Button;

if (nojQueryMode && Joomla && Joomla.getOptions) {
if (Joomla && Joomla.getOptions) {
// Get the elements/configurations from the PHP
const buttons = Joomla.getOptions('bootstrap.button');
// Initialise the elements
Expand Down
3 changes: 1 addition & 2 deletions build/media_source/vendor/bootstrap/js/carousel.es6.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import nojQueryMode from './nojquerymode.es6';
import Carousel from '../../../../../node_modules/bootstrap/js/src/carousel';

window.bootstrap = window.bootstrap || {};
window.bootstrap.Carousel = Carousel;

if (nojQueryMode && Joomla && Joomla.getOptions) {
if (Joomla && Joomla.getOptions) {
// Get the elements/configurations from the PHP
const carousels = Joomla.getOptions('bootstrap.carousel');
// Initialise the elements
Expand Down
3 changes: 1 addition & 2 deletions build/media_source/vendor/bootstrap/js/collapse.es6.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import nojQueryMode from './nojquerymode.es6';
import Collapse from '../../../../../node_modules/bootstrap/js/src/collapse';

window.bootstrap = window.bootstrap || {};
window.bootstrap.Collapse = Collapse;

if (nojQueryMode && Joomla && Joomla.getOptions) {
if (Joomla && Joomla.getOptions) {
// Get the elements/configurations from the PHP
const collapses = { ...Joomla.getOptions('bootstrap.collapse'), ...Joomla.getOptions('bootstrap.accordion') };
// Initialise the elements
Expand Down
3 changes: 1 addition & 2 deletions build/media_source/vendor/bootstrap/js/dropdown.es6.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import nojQueryMode from './nojquerymode.es6';
import Dropdown from '../../../../../node_modules/bootstrap/js/src/dropdown';

window.bootstrap = window.bootstrap || {};
window.bootstrap.Dropdown = Dropdown;

if (nojQueryMode && Joomla && Joomla.getOptions) {
if (Joomla && Joomla.getOptions) {
// Get the elements/configurations from the PHP
const dropdowns = Joomla.getOptions('bootstrap.dropdown');
// Initialise the elements
Expand Down
3 changes: 1 addition & 2 deletions build/media_source/vendor/bootstrap/js/modal.es6.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import nojQueryMode from './nojquerymode.es6';
import Modal from '../../../../../node_modules/bootstrap/js/src/modal';

Joomla = Joomla || {};
Expand Down Expand Up @@ -134,7 +133,7 @@ Joomla.iframeButtonClick = (options) => {
}
};

if (nojQueryMode && Joomla && Joomla.getOptions) {
if (Joomla && Joomla.getOptions) {
// Get the elements/configurations from the PHP
const modals = Joomla.getOptions('bootstrap.modal');
// Initialise the elements
Expand Down
7 changes: 0 additions & 7 deletions build/media_source/vendor/bootstrap/js/nojquerymode.es6.js

This file was deleted.

3 changes: 1 addition & 2 deletions build/media_source/vendor/bootstrap/js/popover.es6.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import nojQueryMode from './nojquerymode.es6';
import Popover from '../../../../../node_modules/bootstrap/js/src/popover';
import Tooltip from '../../../../../node_modules/bootstrap/js/src/tooltip';

window.bootstrap = window.bootstrap || {};
window.bootstrap.Popover = Popover;
window.bootstrap.Tooltip = Tooltip;

if (nojQueryMode && Joomla && Joomla.getOptions) {
if (Joomla && Joomla.getOptions) {
// Get the elements/configurations from the PHP
const tooltips = Joomla.getOptions('bootstrap.tooltip');
const popovers = Joomla.getOptions('bootstrap.popover');
Expand Down
3 changes: 1 addition & 2 deletions build/media_source/vendor/bootstrap/js/scrollspy.es6.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import nojQueryMode from './nojquerymode.es6';
import Scrollspy from '../../../../../node_modules/bootstrap/js/src/scrollspy';

window.bootstrap = window.bootstrap || {};
window.bootstrap.Scrollspy = Scrollspy;

if (nojQueryMode && Joomla && Joomla.getOptions) {
if (Joomla && Joomla.getOptions) {
// Get the elements/configurations from the PHP
const scrollspys = Joomla.getOptions('bootstrap.scrollspy');
// Initialise the elements
Expand Down
3 changes: 1 addition & 2 deletions build/media_source/vendor/bootstrap/js/tab.es6.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import nojQueryMode from './nojquerymode.es6';
import Tab from '../../../../../node_modules/bootstrap/js/src/tab';

window.Joomla = window.Joomla || {};
Expand Down Expand Up @@ -69,7 +68,7 @@ Joomla.initialiseTabs = (el, options) => {
}
};

if (nojQueryMode && Joomla && Joomla.getOptions) {
if (Joomla && Joomla.getOptions) {
// Get the elements/configurations from the PHP
const tabs = Joomla.getOptions('bootstrap.tabs');
// Initialise the elements
Expand Down
3 changes: 1 addition & 2 deletions build/media_source/vendor/bootstrap/js/toast.es6.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import nojQueryMode from './nojquerymode.es6';
import Toast from '../../../../../node_modules/bootstrap/js/src/toast';

window.bootstrap = window.bootstrap || {};
window.bootstrap.Toast = Toast;

if (nojQueryMode && Joomla && Joomla.getOptions) {
if (Joomla && Joomla.getOptions) {
// Get the elements/configurations from the PHP
const toasts = Joomla.getOptions('bootstrap.toast');
// Initialise the elements
Expand Down