Sha256: dd204a8c303859a52d26eeafac97c5502d99effe3451aed1ea68bcc45af5743b

Contents?: true

Size: 384 Bytes

Versions: 2

Compression:

Stored size: 384 Bytes

Contents

pw.component.register("notifier",function(e,n){this.listen("notification:published",function(n){e.node.innerText=n.notification,e.node.classList.remove("hide")}),this.listen("response:received",function(n){var i=n.response.headers["Pakyow-Notify"];i&&(e.node.innerText=i,e.node.classList.remove("hide"))}),e.node.addEventListener("click",function(n){e.node.classList.add("hide")})});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pakyow-0.10.1 lib/generators/pakyow/app/templates/public/scripts/ring/components/notifier.min.js
pakyow-0.10.0 lib/generators/pakyow/app/templates/public/scripts/ring/components/notifier.min.js