Sha256: 0abe97645f1865b10ab3e808494a883e8b9ca0f0fd299e2146940946da308eeb
Contents?: true
Size: 485 Bytes
Versions: 33
Compression:
Stored size: 485 Bytes
Contents
class AMALayout.Notifications constructor: () -> $(document).on 'click', '[data-notifications-toggle]', (event) => event.preventDefault(); badge = event.currentTarget if $(badge).find('[data-notification-count]').remove().size() @request() request: () -> $.ajax( type: 'DELETE', url: '/ama_layout/api/v1/notifications', timeout: 10000 ) $(document).ready -> window.AMALayout.notifications = new AMALayout.Notifications()
Version data entries
33 entries across 33 versions & 1 rubygems