Bind the tagSource callback to the tag-it context #19

Merged
merged 2 commits into from Aug 31, 2011
Commits on Aug 18, 2011
  1. @GUI

    Bind the tagSource callback to the tag-it context. This allows custom…

    GUI committed Aug 17, 2011
    … callbacks to access tag-it functions, such as assignedTags(), like the default callback does.
  2. @GUI

    The tagSource option could just be a URL string (as jQueryUI's autoco…

    GUI committed Aug 17, 2011
    …mplete accepts). Don't bind the callback in that case.