aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/assets/js/bootstrap.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/assets/js/bootstrap.js')
-rw-r--r--resources/assets/js/bootstrap.js22
1 files changed, 9 insertions, 13 deletions
diff --git a/resources/assets/js/bootstrap.js b/resources/assets/js/bootstrap.js
index fb0f1ed..a919262 100644
--- a/resources/assets/js/bootstrap.js
+++ b/resources/assets/js/bootstrap.js
@@ -1,4 +1,3 @@
-
window._ = require('lodash');
window.Popper = require('popper.js').default;
@@ -10,7 +9,6 @@ window.Popper = require('popper.js').default;
try {
window.$ = window.jQuery = require('jquery');
-
require('bootstrap');
} catch (e) {}
@@ -43,14 +41,12 @@ if (token) {
* for events that are broadcast by Laravel. Echo and event broadcasting
* allows your team to easily build robust real-time web applications.
*/
-
-// import Echo from 'laravel-echo'
-
-// window.Pusher = require('pusher-js');
-
-// window.Echo = new Echo({
-// broadcaster: 'pusher',
-// key: process.env.MIX_PUSHER_APP_KEY,
-// cluster: process.env.MIX_PUSHER_APP_CLUSTER,
-// encrypted: true
-// });
+// import Echo from "laravel-echo"
+// window.io = require('socket.io-client');
+
+// if (typeof io !== 'undefined') {
+// window.Echo = new Echo({
+// broadcaster: 'socket.io',
+// host: window.location.hostname + ':6001',
+// });
+// } \ No newline at end of file