16 lines
336 B
CoffeeScript
Executable File
16 lines
336 B
CoffeeScript
Executable File
(($) ->
|
|
|
|
$.fn.alert = ->
|
|
@each ->
|
|
self = $(this)
|
|
self.on 'click', '.close-button', (e) ->
|
|
e.preventDefault()
|
|
self.addClass 'close'
|
|
return
|
|
self.on 'transitionEnd webkitTransitionEnd oTransitionEnd', ->
|
|
self.remove()
|
|
return
|
|
return
|
|
|
|
return
|
|
) jQuery |