aehlke/tag-it — pull request #125 by BBonifield (2012-11-27 18:24:29+00:00)
Title: Call order of beforeTagAdded, specifically when using singleField configuration

Issue:
When using the singleField configuration option, the tag would be appended to the hidden field before the beforeTagAdded callback was actually ran. The net result was that the hidden field would contain invalid tag data.

Fix:
The callback is now being ran before the tag DOM is created and before the singleField is updated.