Prevent double-initialization of TagManager
- Refactor/rename LESS and CSS files to more closely follow Bootstrap standards. New class names are 'tm-input', 'tm-tag', 'tm-tag-xxx' (for semantic size/color)
- Add support for Bootstrap like semantic color and size classes
- Update JS file to match new names
- Bootstrap-style remove icon (× instead of x)
- Remove &nbsp; chars from inside tag, and replace with remove icon margin
- Small readability improvement in JS file
- Better usage of LESS variables
- Regenerate CSS from LESS
Interpolate tag class from the input control class:
tm-input-xxx --> tm-tag-xxx

For example <input class='tm-input tm-input-success'/> will automatically add 'tm-tag-success' to its tags.

Works dynamically so that if you modify the input tag class, any tags it creates from then on will have the new class.
Added DOCS files

docs.html and docs.css are pulled by welldonethings.com every 5 minutes.
Now every contributor can update docs!
Merge pull request #63 from johnnyshields/safegaurd

Prevent double-initialization of TagManager
Merge pull request #88 from johnnyshields/css-refactor

Bootstrap-ify LESS and CSS
Added auto-prefill from hidden field if a hiddenTagListId option is defined. Also consolidated removed duplicate code into a new 'prefill' function.
Correct spelling delimeter -> delimiter.

(old spelling still works but is deprecated)
Update Typescript
Make API parameter: 'typeaheadDelegate' always pass-through to the Bootstrap typeahead instance. Currently it is mutually exclusive with AJAX options
Reduce complexity of event detection.
- Removes global variables isValid and queuedTag
- pushTag() function now just has one parameter, i.e. "the tag to push"
- Typeahead detection refactored into methods
- Add some utility methods to reduce duplicate code
Merge pull request #86 from johnnyshields/master

Reduce size/complexity by 100 lines
Delete mistakenly committed file
Correction to tag margins--was omitting space between tags.
Fix for TM initialization before the DOM tree

If the TagManager component is initialized before append to the DOM
tree, the remove icon won't work because the selector (jQuery("#" +
newTagRemoveId") returns empty.
Whitespace / indentation changes
- Bump version to 2.4.0
- Add CHANGELOG.md
- Add johnnyshields to list of maintainers
Making ajax polling of tags configurable.

Getting tags through ajax is currently POST, but it is preferred to 'GET' than 'POST'. So making it a configurable option.

Signed-off-by: Santosh Sivaraj <santosh@fossix.org>
Added support for setting prefilled with a function
jQuery.browser is no longer supported as of jQuery 1.9; using alternate syntax