Sha256: ac149a64252028d378ecd6869dd88f7581c0288a5e000c58befc570ba3b40c6d
Contents?: true
Size: 1.29 KB
Versions: 2
Compression:
Stored size: 1.29 KB
Contents
//= require "fullstack/admin/lib/jquery.noty" $.notify = notice: (message) -> noty text: message layout: "topRight" type: "success" textAlign: "left" easing: "swing" animateOpen: height: "toggle" animateClose: height: "toggle" speed: "500" timeout: "10000" closable: true closeOnSelfClick: true error: (message) -> noty text: message layout: "topRight" type: "error" textAlign: "left" easing: "swing" animateOpen: height: "toggle" animateClose: height: "toggle" speed: "500" timeout: "10000" closable: true closeOnSelfClick: true alert: (message) -> noty text: message layout: "topRight" type: "alert" textAlign: "left" easing: "swing" animateOpen: height: "toggle" animateClose: height: "toggle" speed: "500" timeout: "10000" closable: true closeOnSelfClick: true warning: (message) -> @.alert(message) success: (message) -> @.notice(message) this.notify_notice = $.notify.notice this.notify_error = $.notify.error this.notify_alert = $.notify.alert this.notify_warning = $.notify.warning this.notify_success = $.notify.success
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fullstack-admin-0.2.21 | app/assets/javascripts/fullstack/admin/lib/notify.js.coffee |
fullstack-admin-0.2.20 | app/assets/javascripts/fullstack/admin/lib/notify.js.coffee |