Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am aka84 on github.
  • I am aka84 (https://keybase.io/aka84) on keybase.
  • I have a public key ASDPcHvAe7zpDE8WyrnZ5Ft8YYl8_Z7qk36uGr_1UFY8fwo

To claim this, I am signing this object:

###
Simple popup jQuery widget
###
$.fn.popup = ->
popups = []
# One time binding to document of the handler that listens for clicks
# on [data-popup-trigger] elements and outside popup elements
do ( ->
# Close popups on outside click
/** Circle icon **/
<span class="circle circle--green"></span>
.circle {
border-radius: 50%;
width: 10px;
height: 10px;
}
.circle--green {