mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 04:06:27 -04:00
The configuration with shim is required for modal!
But IE needs "define" instead of "requirejs" Former-commit-id: d256f8e3086a8635d82cc8ddbd0057e7a896acbb [formerly dfda47efcc688f226f99ce07544510a3095ae2c5] Former-commit-id: 4807d5f7b7a7814e8dd7dbef54bc20c3954a21ce
This commit is contained in:
parent
dcc570070a
commit
e1c68a6fcb
@ -109,7 +109,15 @@ require.config({
|
||||
//'jquery': 'jquery-3.2.1',
|
||||
//'bootstrap': 'bootstrap'
|
||||
'bootstrap': 'bootstrap.min'
|
||||
},
|
||||
shim: {
|
||||
'jquery': {
|
||||
exports: '$'
|
||||
},
|
||||
'bootstrap': {
|
||||
deps: ['jquery']
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
define(['../app']);
|
||||
define(['bootstrap','../app']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user