voronianski/jquery.avgrund.js — pull request #13 by juice49 (2012-09-25 14:57:50+00:00)
Title: Allow template to be either a string or a function

I made a small tweak to allow the template parameter to be a function. The trigger element is passed into the function so you can dynamically build the template based on attributes of the trigger (or anything else).