fixes of kelulusan and resit and marhun and notifikasi
This commit is contained in:
@@ -111,26 +111,21 @@
|
||||
|
||||
<script>
|
||||
|
||||
// // Enable pusher logging - don't include this in production
|
||||
// Pusher.logToConsole = true;
|
||||
// Enable pusher logging - don't include this in production
|
||||
Pusher.logToConsole = true;
|
||||
|
||||
// var pusher = new Pusher('26b0ec2f297f94b7aa9b', {
|
||||
// cluster: 'ap1',
|
||||
// encrypted: true
|
||||
// });
|
||||
var pusher = new Pusher('26b0ec2f297f94b7aa9b', {
|
||||
cluster: 'ap1',
|
||||
encrypted: true
|
||||
});
|
||||
|
||||
// var channel = pusher.subscribe('status-liked');
|
||||
// channel.bind('my-event', function(data) {
|
||||
// let message = JSON.stringify(data);
|
||||
var channel = pusher.subscribe('status-liked');
|
||||
channel.bind('my-event', function(data) {
|
||||
let message = JSON.stringify(data);
|
||||
|
||||
// alert(message);
|
||||
// });
|
||||
|
||||
function trigtest()
|
||||
{
|
||||
pusher.bind();
|
||||
}
|
||||
|
||||
console.log(data);
|
||||
console.log(message);
|
||||
});
|
||||
|
||||
</script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user