julienw/jquery-trap-input — pull request #5 by tuff-ghost (2013-04-01 23:54:27+00:00)
Title: Add checks to prevent infinite loop

The processTab function looped infinitely when the trap container has only a single focussable element: you can see an example in http://julienw.github.com/jquery-trap-input/examples/simple.html, if you view the trap container in a DOM inspector and delete all but one anchor inside.