klaas4/jQuery.popover — pull request #6 by jnarowski (2012-10-28 17:06:07+00:00)
Title: Adding Triggers and Options

Hey, nice work on this plugin!

I was using the twitter bootstrap plugin and it was just too simple for my needs so I stumbled across your plugin. I am using it in a backbone project and needed some additional hooks.

I added triggers for show, destroy and hide so people can tie in additional code if they want. We can further grow this as well if we want.

Also I needed to only see one pover at a time so I added allowMultiple and set it to default to false. I am a bit concerned about cleanup, it seems like this script continues to create new popup elements instead of using a single DOM element. What are your thoughts there?