Browse files

Merge branch 'master' into gh-pages

  • Loading branch information...
2 parents b2d281b + f4db584 commit c51289c48c48d8b6a657cb4f22576546614ed592 @aehlke committed Jun 14, 2011
Showing with 8 additions and 2 deletions.
  1. +1 −1 css/master.css
  2. +7 −1 js/tag-it.js
View
2 css/master.css
@@ -61,7 +61,7 @@ code {
margin:0;
padding:0;
}
-ul, li {
+#wrapper ul, #wrapper li {
list-style:disc;
}
div#wrapper {
View
8 js/tag-it.js
@@ -45,6 +45,11 @@
// When enabled, will use a single hidden field for the form,
// rather than one per tag. It will delimit tags in the field
// with singleFieldDelimiter.
+ //
+ // The easiest way to use singleField is to just instantiate tag-it
+ // on an INPUT element, in which case singleField is automatically
+ // set to true, and singleFieldNode is set to that element. This
+ // way, you don't need to fiddle with these options.
singleField: false,
singleFieldDelimiter: ',',
@@ -53,8 +58,9 @@
// Any text in it will be erased on init. But it will be
// populated with the text of tags as they are created,
// delimited by singleFieldDelimiter.
+ //
// If this is not set, we create an input node for it,
- // with the name // given in settings.fieldName,
+ // with the name given in settings.fieldName,
// ignoring settings.itemName.
singleFieldNode: null,

0 comments on commit c51289c

Please sign in to comment.