diff --git a/www/js/init.js b/www/js/init.js index 82e68297..b64ae287 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -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']);