From a84e41ae1678d14e7916d975610407ba49588e4e Mon Sep 17 00:00:00 2001 From: Igor Vaynberg Date: Thu, 19 Jul 2012 10:56:32 +0300 Subject: [PATCH] catch up to master --- select2-latest.html | 11 +++++++++++ select2-master | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/select2-latest.html b/select2-latest.html index 9653bc02..eb4fcef8 100755 --- a/select2-latest.html +++ b/select2-latest.html @@ -221,6 +221,7 @@ $("#e10_3").select2({
  • Separator in multi-valued selects is now cofigurable, , still the default. See separator option in the docs.
  • Matching is now customizable. See matcher function in the docs and the Custom Matcher example.
  • change event now specifies which elements were added/removed
  • +
  • width option now supports various strategies instead of always being copied from the source element
  • @@ -848,6 +849,16 @@ $("#e18,#e18_2").select2(); ParameterTypeDescription + widthstring + Controls the width style attribute of the Select2 container div. The following values are supported: +
    +
    off
    No width attribute will be set. Keep in mind that the container div copies classes from the source element so setting the width attribute may not always be necessary.
    +
    element
    Uses javascript to calculate the width of the source element.
    +
    copy
    Copies the value of the width style attribute set on the source element
    +
    resolve
    First attempts to copy than falls back on element
    +
    other values
    other values are used verbatim
    +
    + minimumInputLengthintNumber of characters necessary to start a search minimumResultsForSearchint

    diff --git a/select2-master b/select2-master index 6c330eb5..96c01665 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit 6c330eb53b695d8cf9f472d4e1df8f20357648db +Subproject commit 96c01665351a7d676b0528c508dc57e082fe6613