fixes of kelulusan and resit and marhun and notifikasi

This commit is contained in:
hafifierahman
2021-01-14 08:48:25 +08:00
parent a32deccf82
commit f6de532b78
16 changed files with 1162 additions and 87 deletions
+12 -17
View File
@@ -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>