Squashed 'lib/select2/' changes from 55aa184..39394e2

39394e2 Merge pull request #2770 from stonys/master
f32a94f Merge pull request #2832 from kahwee/patch-1
085f62e Spelling mistake for jsDelivr
48ae56a Merge pull request #2828 from LudoZeGeek/patch-3
285abff Hide search box if select is empty
f382f3d Merge pull request #2755 from kupishkis/2753
9913cb7 Merge pull request #2730 from od3n/master
69e8e6e Merge pull request #2808 from yuks/patch-1
ced4bf6 formatMatches translation added
a8377e3 Merge pull request #2789 from RustyToms/drop_above_dropHeight_fix
6d029f3 Merge pull request #2786 from exabugs/master
a83ae78 recalculate $dropdown height after drop-above class added
7f75f46 Delete 'StarHuck' code. Because select2 support IE8+.
4e19d87 modified version identifiers in descriptors for release 3.5.2
db7cd1b Go back to hiding the original element
e943f6e Revert "Fixed Select2 jumping around in Chrome"
1de4be3 Fixed TypeError when destroying Select2
7581fa5 Merge pull request #2588 from fabdouglas/patch-8
0daee34 Fixed Select2 jumping around in Chrome
0ed9e02 Merge pull request #2775 from Splaktar/patch-1
f16eb6c Merge pull request #2776 from bjornjohansen/master
9a689a5 Consistent padding for .select2-search
d1c19eb Added the formatMatches string
3a9896d Replaced nonexistent locale "no" with "nb" (Norwegian Bokmål). Added space before ellipsis for correct punctuation.
9ff939b Updated AngularJS link to HTTPS
fd90060 Updated link for AngularUI
a35188c Add padding to select2 container displayed above
dd32368 Merge pull request #2364 from joshuajonah/master
c1f338c Dont update the results if the term hasn't changed.
0cc0ac4 Fixed not to break use case: setting the new value after someone was just searching with a different value
03a15e0 After clearSearch nextSearchTerm is not cleared
5a18492 Merge pull request #2726 from KayLeung/patch-1
30ab851 Merge pull request #2747 from arthur-peka/master
35f706a fixing minor errors e.g. redefined variable
ea26634 Merge pull request #2665 from bor0/master
2afc930 updated Indonesian translation
de5fe02 updated Malay translation
073f4cb Merge pull request #2728 from demkalkov/master
e716ad0 'document.body' instead of 'body' selector
b7a7dd0 Fixes results count in accessible text
eb0b9ff Merge pull request #2690 from marcelod/patch-1
c1df0aa Merge pull request #2702 from dgroux/master
8644ccb Items with spaces can be added infinite times on multiselects Add optional parameter transformVal that allows the user to define transformation for splitVal
08ee57a Merge pull request #2720 from josmardias/fix-ie8-ie9
4955be2 Testing if the object exists before use it
d385dc5 allow formatSelection to return a jQuery object
c5c42ea Merge pull request #2695 from junhanamaki/master
2b90de5 Merge pull request #2679 from r0mille/master
68070d0 allow markups of subsequent formatLoadMore message
759b019 Update Brazilian Portuguese translation
bfaaf8e Merge pull request #2674 from LuisGP/patch-2
633d4e6 fixes cutoff for bottom option when selecting with keyboard
dc6b987 Merge pull request #2673 from LuisGP/patch-1
ef284de Update select2_locale_es.js
438be4f Update select2_locale_es.js
d0d4bfb Merge pull request #2655 from DamianZ/master
21628ab [fix] uproszczenie i poprawienie logiki dodawania suffiksów liczby mnogiej Signed-off-by:Damian Zajkowski <damian.zajkowski@rst.com.pl>
bbb3722 [fix] secure fix, to prevent access to undefined array index Signed-off-by:Damian Zajkowski <damian.zajkowski@rst.com.pl>
c2bd82f [fix] change undefined variable to the correct one Signed-off-by:Damian Zajkowski <damian.zajkowski@rst.com.pl>
15133f6 Merge pull request #2650 from mlocati/remove-utf8-bom
9f6f605 Remove UTF-8 BOM
8460e83 Merge pull request #2642 from b4oshany/master
9207f23 Fixed JS breakage due to undefined variable, viewPortLeft.
2a9db24 Add cdnjs to the README
9315721 Merge pull request #2415 from santialbo/text-function
7505bb6 Merge pull request #2595 from scotam/drop-left-check
4c59e16 Merge pull request #2591 from gsirin/patch-1
2e55383 Merge pull request #2610 from torke1/patch-1
c814143 Merge pull request #2609 from ivaynberg/issue_1535_contributor_guidelines
4645183 Merge pull request #2227 from fabdouglas/patch-6
d6d9f95 Merge pull request #2615 from mikaelkael/patch-1
afdb0da Syntax error with IE embedded as ActiveX in fat client
651047d Issue #2412
6df22fc Merge pull request #2580 from Phazeshift/master
0b3a690 Fixed a few links
3e77930 Add IRC information to README
cfcd555 Added initial contributing guidelines
d2c9b9a only switch right to left drop when enough room available
487b329 IE and compat mode :/
9d19b7f Redirect the focus of original input to Select2
3c17d3b Call out documentation a bit more explicitly
39382fa Fixing 'Type mismatch' exception in destroy in IE11
a6c9b12 Merge pull request #2576 from rinogo/master
75e089f Basic CSS gradient fix for choices
7c1acdb Merge pull request #2557 from davidwparker/patch-1
a17becd Update angular.js website
c13b284 Change the release remote back to origin
362751a modified version identifiers in descriptors for release 3.5.1
140efeb Merge pull request #2546 from marcovtwout/patch-1
d939794 Merge pull request #2550 from pulzarraider/patch-1
65164fb Fixed slovak translation
74226e9 Update select2_locale_nl.js
f579cbb Merge pull request #2540 from futhr/patch-1
e7ad0b0 Fixes updated translation pattern.
f995605 Merge pull request #2529 from OtkurBiz/master
f330cb2 Changed Uyghur translation
feedfe2 Merge remote-tracking branch 'upstream/master'
d8a9f69 added Uyghur translation
6695f88 added Uyghur translation
c4cba75 Merge pull request #2507 from ivaynberg/i18n_backport
6de0731 Fix da language apply
8fc069d Added some missing ;
e2e476c Remaining syntax + indentation
8243f81 Syntax fix
6b92b1c Immediately apply language when including
837715f Fixes #2278
79b5bf6 Merge pull request #2483 from hitosu/master
724d2f7 Merge pull request #2491 from Ermish/master
36db1f1 Revert "gitignore"
d19bb1c gitignore
b505601 Added Ajax Error Handling
7c1ceb8 filter 229 keyCodes (input method editor is processing key input)
fdad112 Merge pull request #2481 from sbilstein/master
2690053 Fixes #2434 Tagging support allows creation of tags that are only whitespace
a73d1b2 Merge pull request #2465 from rvitaliy/patch-1
5daca74 Merge pull request #2466 from tjperovich/patch-1
c0cc6c9 Fix there/their typo
78526a3 Update select2.js
0d98939 modified version identifiers in descriptors for release 3.5.0
5a7d250 Merge pull request #2444 from surgeforward/undefined-top
3fee8fc Detect classes separated by multiple spaces
9e17f63 Normalized `select2-selecting` event
b13c9b4 Small `formatMatches` change for single results
0675805 Fix error: Cannot read property 'top' of undefined
172f973 Merge pull request #2436 from asapach/patch-2
1088490 Merge pull request #2435 from asapach/patch-1
4871aa5 updated russian translation
f6597ad updated translation template to match master
c23f978 Merge pull request #2361 from rjbijl/rtl
db86f19 Remove added line
b8ce36a Add text function for formatResult and formatSelection
d487fc5 Merge pull request #2360 from ycdtosa/master
f544f9d Merge pull request #2367 from gschizas/master
fba74e3 Merge pull request #2363 from thereloaded/master
a29dfc2 Merge pull request #2410 from redbmk/master
5a8394b Merge pull request #2401 from Holek/patch-1
9d44e06 Reword Polish string for formatInputTooShort
88c6a63 IE8 does not support Array.prototype.forEach #2339
25f89bf Merge pull request #2388 from cnicodeme/patch-1
02d6e88 Update select2.js
2a0c844 Merge pull request #2377 from TheSisb/master
2a94074 Merge pull request #2385 from johngallagher/patch-1
a5b6ee4 Merge examples from wiki
e2cd841 Handling mousemove more delicately
827a549 Reverted formatting of diacritics variable, now is again in one line
68c64a1 Enabled Greek for diacritics ignoring
df43e1a fixed word wrapping for DIACRITICS variable
0f8a85b update populate at formatResults to use bulk append of nodes
c14f45c Revert "changes on updateResults, populate by @cervengoc on #781"
49a86e2 added query to function head jsdoc block
5470a45 Getting a few more pixels perfect in the RTL mode for multiple selects
fb91ada More RTL style fixes, now for the multiple select
64256f2 Stopped refresh to top when `closeOnSelect: false`
f07bab5 query as third parameter to ajax results callback
06b93b2 Better support for RTL languages CSS changes to better support RTL languages. Most notable is the positioning of the arrow on the left side of the select2 for RTL
12e0de2 changes on updateResults, populate by @cervengoc on #781
52425f9 Merge pull request #2355 from stephane/i18n
00bad43 Add note about position of locale file
1d26b2b Remove execution flags on select2_locale_zh-TW.js
c376407 Improve French translation
8fb7c15 Merge pull request #2350 from soichih/master
765cdbf Merge pull request #2346 from sroe/patch-1
0900385 Fixed the issue where multi-line item inside multi list will touch the right end of the container
7bf2f2e formatMatches translation added
c864392 Merge pull request #2326 from dawnhammond/feature/2084
85a194d Merge pull request #2341 from seferov/locale_az
d4fb3a3 typo fixed
344a4b1 Azerbaijani translation added.
ab6d38f Merge pull request #2338 from redbmk/master
2133129 keyword `this` inside closures referring to wrong object
ea3c676 Merge pull request #2164 from colemanw/evaluateFix
988eccb Merge pull request #2332 from FallSe7en/master
0db21bb modified version identifiers in descriptors for release 3.4.8
fb6ef71 Merge pull request #2337 from snrmwg/master
ca859e4 Query term in tags function in select2 3.4 #2141
e9ed6b9 modified version identifiers in descriptors for release 3.4.7
0313630 Unbind onpropertychange event handler on destroy for IE8-10
7840a57 Merge pull request #2328 from openwide-java/update-french-translation-20140429
c9019af Update French translation
796661a change condition to use length
e375142 Fix focus issue when select-input has placeholder
00a019b Merge pull request #2324 from tunguski/master
97b897a Set id in unescaped version.
3c1482a Replace dots with underscores in event handler names. Dots are processed in special way in jQuery on/off.
8b463bf Merge pull request #2287 from eduardojmatos/master
1c7706a Merge pull request #2307 from IFours/master
9e505cd Merge pull request #2313 from FallSe7en/master
7268973 Merge pull request #2320 from kartik-v/patch-1
6b689fc Merge pull request #2302 from ivaynberg/issue_1541
b5cdf55 Yii 2.0 widget implementation
12d7142 Update README.md
47c1538 Yii 2.0 widget implementation
f9be3c0 Issue 234368 for the Chromium project is fixed now (Issue #1099)
6156abc Cleanup jQuery DOM elements on destroy
514988e Merge pull request #2282 from dandv/patch-2
086f977 Merge pull request #2303 from snrmwg/master
2e79f5e Only disable keyboard focusing for touch devices [Fixes #1541]
ffddc48 Recalculation dropdown height if dropdownAutoWidth is true
42f2acd Query term in tags function in select2 3.4 #2141
79e031f Merge pull request #2241 from zocoi/master
435b536 Merge pull request #2293 from jorupp/master
632595f Fix issue syncing CSS classes in IE9/10
00716ad Merge pull request #2286 from interestincode/patch-1
22d503f Avoid call 'positionDropdown' function if the container it's closed
7c9c961 Update select2.js
24f4bbf Merge pull request #2257 from mkurz/title_fix
f48df6f Merge pull request #2153 from 2color/patch-1
3cc3e6a Merge pull request #2281 from dandv/patch-1
143341b Mention CDN hosting
759ccc9 List Bootstrap 3 and Meteor integrations
100266b Merge pull request #2274 from thiagotalma/patch-1
1a7a218 Update select2_locale_pt-BR.js
3f43f45 Testing if the dropdown is opened before call positionDropdown, on  events by resize, scroll and orientation
60d74da Merge pull request #2225 from davidfstr/fix_empty_placeholder
77afdd8 Merge pull request #2256 from mkurz/xhtml_fix
bdb8840 Copy title attribute from original element
47005ed xhtml compatibility
8307d76 Merge pull request #2239 from antstorm/fix_leaking_clicks_2
70be47d Merge remote-tracking branch 'upstream/master'
45a9788 Merge pull request #2246 from mkurz/css_depth_fix
a6d7ecc Css dept-* rules should start with 1 no 0
534bbff trap touchstart touchend events within container
c77e159 Another solution for clicks triggered on underlying elements
0d06066 Merge pull request #2238 from mkurz/focus-fix
e801573 Merge pull request #2236 from mkurz/destroy_fix
43a598b Merge pull request #2216 from lboynton/fix-search-focus-on-mobile
dcabde4 Prevent the cursor from setting it to initial position in IE
ddcb615 .destroy() should destroy all selected select2
937aaa1 Merge pull request #2229 from aanbar/modify_arabic
b163712 Added missing letter.
dd6198a Ignore focus and error on IE7 for disabled select2
3ce3ad7 Allow an empty string to be used as the placeholder title.
2d6b74c Also check if search input should be focussed for multiselects
df7b7ba Merge pull request #2220 from bigmihail/master
b2c3dbc Added translation for formatMatches
901a599 Merge pull request #2215 from pineapple-thief/pineapple-thief
ed0bae3 Check if search should be focused when the dropdown is activated
ad21d01 Check if search input should be focussed when opening
70873ab Update select2.js
cbd2a70 Merge pull request #2203 from jesperronn/simplify-selectors
7390721 Reduced 10 level deep nesting of CSS rules. Instead, using the simpler depth-0,-1,-2,etc for adding padding to the result when nested.
774a0d7 modified version identifiers in descriptors for release 3.4.6
5b25168 Fix sed issues in the release scripts
2752563 Merge pull request #2096 from springboardretail/mobile-fixes
63f342a Revert "Add hideSelectionFromResult function"
d9f54a6 Merge pull request #2200 from diogotrentini/master
6c731f4 Fix method to get space above the dropdown
e51e7a6 Merge pull request #2176 from mattslocum/master
eb09dfc make selection on iOS more intuitive
2342d91 Fix Focus war with modals
2d906ee Merge pull request #2140 from ivaynberg/issue_1541
51e5d43 Merge pull request #2160 from s7anley/bugfix/2073-select2-removing
43e381e Provide context for evaluated functions
e6fbfcd Merge pull request #2125 from colemanw/evaluateFix
f3c6d6d After prevented removing of item in multiselect, proper item is focused
86a9c79 Removed unnecessary animation during unseint multiselect by close button
2059b5d Unselected item is returned as options only if event isn't prevented
660643a Fix a typo in the docs.
ec97c81 Merge pull request #2151 from dhardtke/csp_fixes
60359f9 fix select2 csp errors / warnings
c3592c3 Merge pull request #2147 from juanluisrp/patch-1
27acc27 Merge pull request #2148 from djarnis73/patch-1
b7695ec Update select2.css
b3ecfaa Unit of measure px is redundant
c5e13d3 Merge pull request #2146 from ebraminio/master
60c9320 Update and improve Persian (fa) translations
d87e93d Add `shouldFocusInput` option [Fix #1541]
b2b5ebd Merge pull request #2129 from campbell/master
2a4e026 Bugfix - only selected options that are not disabled should be used when initializing the dropdown
9460b0c Fix evaluation of formatLoadMore
0636e42 Merge pull request #2098 from gdi2290/patch-1
97af0a3 Merge pull request #2106 from PeterMozesMerl/master
b3d2d25c Update select2_locale_hu.js
2180217 update copyright year
3c28c35 Merge pull request #2095 from mkurz/readonly_chaining
beabb63 Merge pull request #2092 from colemanw/strings
bd3bd55 Allow chaining for .select2('readonly', ...)
175c784 Accept strings as well as functions for localization
596cf52 Merge pull request #2070 from jeanmonod/master
ed77cab Allow to display item created by createSearchChoice at the end of the list ref #595
fb6e863 Merge pull request #2065 from jdecuyper/hideSelectionFromResult-fix
c87615f The function hideSelectionFromResult was tested against undefined as a property and not as a function
0f1372c Merge pull request #1733 from flyerhzm/append-label-only-when-formatted-defined
9cb1847 Merge pull request #2055 from mac2000/feature-request-search-input-placeholder
89ae701 merge
2e901f7 merge
e559f92 Merge pull request #2001 from arendjr/master
cd92405 Merge pull request #2053 from jdecuyper/feature-hide-selection-from-result
2244365 Merge pull request #2056 from mkurz/fix_2042
a186a16 Merge pull request #2057 from mkurz/dppx_fix
05efcaf Use dppx instead of non-existing ppx resolution unit
6a3ec3f Fix for #2042 Chrome bug: Reset the background position for multiple backgrounds
f4886a0 Optional Search Input Placeholder parameter added
84cf134 Add hideSelectionFromResult function
9eb12a8 Merge pull request #1816 from funkjedi/accessibility
eaf09c7 Accessibility updates based on jQuery UI Autocomplete
d5cb4bf Merge pull request #2044 from sieppl/master
48d3926 singleSelect: setting nextSearchTerm in initSelection
7087c4b Merge pull request #2037 from codemumbler/patch-1
829b8c7 Changed default text for min number of characters.
f0b25ef Update package.json on release
32a08ea Merge pull request #1943 from Jarreddebeer/patch-1
4f4d77d Fixed dpi warning [Fixes #1964]
79ee208 Gradients are all set now
e2cccc9 Fixed reversed gradients, again
a97b908 Added version to composer.json
4847be1 Merge pull request #2027 from limonte/master
76d21b0 Added Serbian locale
aab3381 Fixed reversed gradient
2158a83 Merge pull request #1920 from jpotterm/prevent-ie-body-clicks
4dce487 Prevent IE from generating unwanted clicks on the body. When mousedown fires on the selection element and then mouseup fires on the mask (because it is moved under the mouse during mousedown) then IE fires a click event on the body because it is the closest common ancestor. To prevent this, we detach and reatach the elements on mousedown which cancels the click event.
3e5ad13 Merge pull request #2020 from merkuriy/master
7132a9a Merge pull request #2023 from TheDistantSea/feature/remove-hardcoded-classnames
c22bdd4 Removed hardcoded class names from $.fn.select2. The code now uses the exports accessible through window.Select2 to instantiate widgets, allowing the environment to replace or extend those classes globally.
41c3d4c Removed hardcoded class names from $.fn.select2. The code now uses the exports accessible through window.Select2 to instantiate widgets, allowing the environment to replace or extend those classes globally.
fd97e58 L10n files and template l10n file were improved:  Groups of three characters "." (dots) were replaced by a single character "…" (ellipsis).
147540b Korean l10n improved
0e93836 Icelandic l10n improved
c3cc582 Persian l10n improved
edc87b4 Greek l10n improved
93262e1 Bulgarian l10n improved
d322d62 Croatian l10n improved
4e524f7 Polish l10n improved
bc1ba84 Ukrainian l10n improved
0c021ef Russian l10n improved
3cb76d2 Ukrainian language code from l10n file name has been fixed: "ua" — is country code for Ukraine. "uk" — is code for Ukrainian language. http://en.wikipedia.org/wiki/Ukrainian_language http://en.wikipedia.org/wiki/Ukraine
cc254ee Latvian l10n improved
daea531 Lithuanian l10n improved
372ec8d Spanish l10n improved
4eb1370 Merge pull request #1981 from openwide-java/fix-1946-hard_coded_title
f83ca8e Merge pull request #2000 from leods92/patch-1
a6ec8fc Don't rely on :visible and :not(..., ...) selectors which only work with Sizzle.
23b2574 Added padding to searching/no-results messages.
3d2b91b Fix #1946: remove an hard coded title.
89dfa88 Correcting git repository url
89729dd Create package.json
701e84e append label only when formatted is not undefined

git-subtree-dir: lib/select2
git-subtree-split: 39394e2ee804f2f2bfc900eaba6060130d2681b2
Merge commit '9bad6eecb2cc3840aa0d53c4cb7158c57d63aee7'
add node_modules/ to .gitignore