locomotivecms 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/locomotive/install/templates/mongoid_heroku.yml +3 -3
- data/lib/locomotive/version.rb +1 -1
- data/spec/requests/locomotive/steam/cache_spec.rb +1 -1
- metadata +4 -911
- data/vendor/assets/components/locomotive_sources/backbone/LICENSE +0 -22
- data/vendor/assets/components/locomotive_sources/backbone/backbone-min.js +0 -2
- data/vendor/assets/components/locomotive_sources/backbone/backbone-min.map +0 -1
- data/vendor/assets/components/locomotive_sources/backbone/backbone.js +0 -1894
- data/vendor/assets/components/locomotive_sources/backbone/bower.json +0 -8
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/Gruntfile.js +0 -82
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/LICENSE +0 -20
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/README.md +0 -92
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/bootstrap-tagsinput.jquery.json +0 -27
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/bower.json +0 -42
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.js +0 -87
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-angular.min.js.map +0 -1
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput-typeahead.css +0 -49
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.css +0 -55
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.js +0 -663
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.less +0 -50
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js.map +0 -1
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/dist/bootstrap-tagsinput.zip +0 -0
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app.css +0 -67
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app.js +0 -15
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app_bs2.js +0 -74
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/app_bs3.js +0 -95
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/cities.json +0 -16
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/assets/citynames.json +0 -16
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/bootstrap-2.3.2.html +0 -666
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/examples/index.html +0 -742
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/karma.conf.js +0 -20
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/package.json +0 -47
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput-angular.js +0 -87
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput-typeahead.css +0 -49
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput.css +0 -55
- data/vendor/assets/components/locomotive_sources/bootstrap-tagsinput/src/bootstrap-tagsinput.js +0 -663
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +0 -38
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/Gruntfile.js +0 -191
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/LICENSE +0 -21
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/README.md +0 -37
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/bower.json +0 -35
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css +0 -103
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +0 -373
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +0 -5
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +0 -9
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/component.json +0 -9
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/composer.json +0 -28
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/ChangeLog.md +0 -222
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/ContributorsGuide.md +0 -126
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Events.md +0 -96
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Extras.md +0 -95
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/FAQ.md +0 -22
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Functions.md +0 -670
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Installing.md +0 -161
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Options.md +0 -473
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Version 4 Changelog.md +0 -6
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Version 4 Contributors guide.md +0 -6
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/index.md +0 -592
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/mkdocs.yml +0 -17
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/package.json +0 -43
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +0 -2552
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less +0 -352
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +0 -17
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec +0 -34
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.nuspec +0 -34
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/NuGet.exe +0 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/install.ps1 +0 -2
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +0 -343
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +0 -16
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/tasks/bump_version.js +0 -88
- data/vendor/assets/components/locomotive_sources/jquery/MIT-LICENSE.txt +0 -21
- data/vendor/assets/components/locomotive_sources/jquery/bower.json +0 -28
- data/vendor/assets/components/locomotive_sources/jquery/dist/jquery.js +0 -9210
- data/vendor/assets/components/locomotive_sources/jquery/dist/jquery.min.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/dist/jquery.min.map +0 -1
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax.js +0 -786
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/jsonp.js +0 -89
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/load.js +0 -75
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/parseJSON.js +0 -13
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/parseXML.js +0 -28
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/script.js +0 -64
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/var/nonce.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/var/rquery.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/ajax/xhr.js +0 -136
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes.js +0 -11
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/attr.js +0 -141
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/classes.js +0 -158
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/prop.js +0 -94
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/support.js +0 -35
- data/vendor/assets/components/locomotive_sources/jquery/src/attributes/val.js +0 -161
- data/vendor/assets/components/locomotive_sources/jquery/src/callbacks.js +0 -205
- data/vendor/assets/components/locomotive_sources/jquery/src/core.js +0 -502
- data/vendor/assets/components/locomotive_sources/jquery/src/core/access.js +0 -60
- data/vendor/assets/components/locomotive_sources/jquery/src/core/init.js +0 -123
- data/vendor/assets/components/locomotive_sources/jquery/src/core/parseHTML.js +0 -39
- data/vendor/assets/components/locomotive_sources/jquery/src/core/ready.js +0 -97
- data/vendor/assets/components/locomotive_sources/jquery/src/core/var/rsingleTag.js +0 -4
- data/vendor/assets/components/locomotive_sources/jquery/src/css.js +0 -450
- data/vendor/assets/components/locomotive_sources/jquery/src/css/addGetHookIf.js +0 -22
- data/vendor/assets/components/locomotive_sources/jquery/src/css/curCSS.js +0 -57
- data/vendor/assets/components/locomotive_sources/jquery/src/css/defaultDisplay.js +0 -70
- data/vendor/assets/components/locomotive_sources/jquery/src/css/hiddenVisibleSelectors.js +0 -15
- data/vendor/assets/components/locomotive_sources/jquery/src/css/support.js +0 -96
- data/vendor/assets/components/locomotive_sources/jquery/src/css/swap.js +0 -28
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/cssExpand.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/getStyles.js +0 -12
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/isHidden.js +0 -13
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/rmargin.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/css/var/rnumnonpx.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/data.js +0 -178
- data/vendor/assets/components/locomotive_sources/jquery/src/data/Data.js +0 -181
- data/vendor/assets/components/locomotive_sources/jquery/src/data/accepts.js +0 -20
- data/vendor/assets/components/locomotive_sources/jquery/src/data/var/data_priv.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/data/var/data_user.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/deferred.js +0 -149
- data/vendor/assets/components/locomotive_sources/jquery/src/deprecated.js +0 -13
- data/vendor/assets/components/locomotive_sources/jquery/src/dimensions.js +0 -50
- data/vendor/assets/components/locomotive_sources/jquery/src/effects.js +0 -648
- data/vendor/assets/components/locomotive_sources/jquery/src/effects/Tween.js +0 -114
- data/vendor/assets/components/locomotive_sources/jquery/src/effects/animatedSelector.js +0 -13
- data/vendor/assets/components/locomotive_sources/jquery/src/event.js +0 -868
- data/vendor/assets/components/locomotive_sources/jquery/src/event/ajax.js +0 -13
- data/vendor/assets/components/locomotive_sources/jquery/src/event/alias.js +0 -39
- data/vendor/assets/components/locomotive_sources/jquery/src/event/support.js +0 -9
- data/vendor/assets/components/locomotive_sources/jquery/src/exports/amd.js +0 -24
- data/vendor/assets/components/locomotive_sources/jquery/src/exports/global.js +0 -32
- data/vendor/assets/components/locomotive_sources/jquery/src/intro.js +0 -44
- data/vendor/assets/components/locomotive_sources/jquery/src/jquery.js +0 -37
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation.js +0 -580
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation/_evalUrl.js +0 -18
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation/support.js +0 -32
- data/vendor/assets/components/locomotive_sources/jquery/src/manipulation/var/rcheckableType.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/offset.js +0 -207
- data/vendor/assets/components/locomotive_sources/jquery/src/outro.js +0 -1
- data/vendor/assets/components/locomotive_sources/jquery/src/queue.js +0 -142
- data/vendor/assets/components/locomotive_sources/jquery/src/queue/delay.js +0 -22
- data/vendor/assets/components/locomotive_sources/jquery/src/selector-native.js +0 -172
- data/vendor/assets/components/locomotive_sources/jquery/src/selector-sizzle.js +0 -14
- data/vendor/assets/components/locomotive_sources/jquery/src/selector.js +0 -1
- data/vendor/assets/components/locomotive_sources/jquery/src/serialize.js +0 -111
- data/vendor/assets/components/locomotive_sources/jquery/src/sizzle/dist/sizzle.js +0 -2067
- data/vendor/assets/components/locomotive_sources/jquery/src/sizzle/dist/sizzle.min.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/sizzle/dist/sizzle.min.map +0 -1
- data/vendor/assets/components/locomotive_sources/jquery/src/traversing.js +0 -199
- data/vendor/assets/components/locomotive_sources/jquery/src/traversing/findFilter.js +0 -100
- data/vendor/assets/components/locomotive_sources/jquery/src/traversing/var/rneedsContext.js +0 -6
- data/vendor/assets/components/locomotive_sources/jquery/src/var/arr.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/var/class2type.js +0 -4
- data/vendor/assets/components/locomotive_sources/jquery/src/var/concat.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/var/hasOwn.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/var/indexOf.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/var/pnum.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/var/push.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/var/rnotwhite.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/var/slice.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/var/strundefined.js +0 -3
- data/vendor/assets/components/locomotive_sources/jquery/src/var/support.js +0 -4
- data/vendor/assets/components/locomotive_sources/jquery/src/var/toString.js +0 -5
- data/vendor/assets/components/locomotive_sources/jquery/src/wrap.js +0 -79
- data/vendor/assets/components/locomotive_sources/moment-timezone/LICENSE +0 -20
- data/vendor/assets/components/locomotive_sources/moment-timezone/README.md +0 -36
- data/vendor/assets/components/locomotive_sources/moment-timezone/bower.json +0 -18
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data-2010-2020.js +0 -1189
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data-2010-2020.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data.js +0 -1189
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone.min.js +0 -6
- data/vendor/assets/components/locomotive_sources/moment-timezone/changelog.md +0 -101
- data/vendor/assets/components/locomotive_sources/moment-timezone/composer.json +0 -43
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/meta/latest.json +0 -5012
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/packed/latest.json +0 -590
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/unpacked/latest.json +0 -124081
- data/vendor/assets/components/locomotive_sources/moment-timezone/moment-timezone-utils.js +0 -316
- data/vendor/assets/components/locomotive_sources/moment-timezone/moment-timezone.js +0 -599
- data/vendor/assets/components/locomotive_sources/moment/CHANGELOG.md +0 -496
- data/vendor/assets/components/locomotive_sources/moment/LICENSE +0 -22
- data/vendor/assets/components/locomotive_sources/moment/README.md +0 -58
- data/vendor/assets/components/locomotive_sources/moment/bower.json +0 -22
- data/vendor/assets/components/locomotive_sources/moment/locale/af.js +0 -73
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-ma.js +0 -59
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-sa.js +0 -103
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-tn.js +0 -57
- data/vendor/assets/components/locomotive_sources/moment/locale/ar.js +0 -136
- data/vendor/assets/components/locomotive_sources/moment/locale/az.js +0 -104
- data/vendor/assets/components/locomotive_sources/moment/locale/be.js +0 -134
- data/vendor/assets/components/locomotive_sources/moment/locale/bg.js +0 -90
- data/vendor/assets/components/locomotive_sources/moment/locale/bn.js +0 -113
- data/vendor/assets/components/locomotive_sources/moment/locale/bo.js +0 -110
- data/vendor/assets/components/locomotive_sources/moment/locale/br.js +0 -107
- data/vendor/assets/components/locomotive_sources/moment/locale/bs.js +0 -141
- data/vendor/assets/components/locomotive_sources/moment/locale/ca.js +0 -79
- data/vendor/assets/components/locomotive_sources/moment/locale/cs.js +0 -171
- data/vendor/assets/components/locomotive_sources/moment/locale/cv.js +0 -63
- data/vendor/assets/components/locomotive_sources/moment/locale/cy.js +0 -79
- data/vendor/assets/components/locomotive_sources/moment/locale/da.js +0 -60
- data/vendor/assets/components/locomotive_sources/moment/locale/de-at.js +0 -77
- data/vendor/assets/components/locomotive_sources/moment/locale/de.js +0 -76
- data/vendor/assets/components/locomotive_sources/moment/locale/dv.js +0 -99
- data/vendor/assets/components/locomotive_sources/moment/locale/el.js +0 -98
- data/vendor/assets/components/locomotive_sources/moment/locale/en-au.js +0 -66
- data/vendor/assets/components/locomotive_sources/moment/locale/en-ca.js +0 -63
- data/vendor/assets/components/locomotive_sources/moment/locale/en-gb.js +0 -67
- data/vendor/assets/components/locomotive_sources/moment/locale/en-ie.js +0 -67
- data/vendor/assets/components/locomotive_sources/moment/locale/en-nz.js +0 -66
- data/vendor/assets/components/locomotive_sources/moment/locale/eo.js +0 -73
- data/vendor/assets/components/locomotive_sources/moment/locale/es.js +0 -79
- data/vendor/assets/components/locomotive_sources/moment/locale/et.js +0 -80
- data/vendor/assets/components/locomotive_sources/moment/locale/eu.js +0 -64
- data/vendor/assets/components/locomotive_sources/moment/locale/fa.js +0 -105
- data/vendor/assets/components/locomotive_sources/moment/locale/fi.js +0 -107
- data/vendor/assets/components/locomotive_sources/moment/locale/fo.js +0 -60
- data/vendor/assets/components/locomotive_sources/moment/locale/fr-ca.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/locale/fr-ch.js +0 -62
- data/vendor/assets/components/locomotive_sources/moment/locale/fr.js +0 -62
- data/vendor/assets/components/locomotive_sources/moment/locale/fy.js +0 -71
- data/vendor/assets/components/locomotive_sources/moment/locale/gd.js +0 -76
- data/vendor/assets/components/locomotive_sources/moment/locale/gl.js +0 -75
- data/vendor/assets/components/locomotive_sources/moment/locale/he.js +0 -82
- data/vendor/assets/components/locomotive_sources/moment/locale/hi.js +0 -123
- data/vendor/assets/components/locomotive_sources/moment/locale/hr.js +0 -143
- data/vendor/assets/components/locomotive_sources/moment/locale/hu.js +0 -109
- data/vendor/assets/components/locomotive_sources/moment/locale/hy-am.js +0 -95
- data/vendor/assets/components/locomotive_sources/moment/locale/id.js +0 -83
- data/vendor/assets/components/locomotive_sources/moment/locale/is.js +0 -127
- data/vendor/assets/components/locomotive_sources/moment/locale/it.js +0 -70
- data/vendor/assets/components/locomotive_sources/moment/locale/ja.js +0 -65
- data/vendor/assets/components/locomotive_sources/moment/locale/jv.js +0 -83
- data/vendor/assets/components/locomotive_sources/moment/locale/ka.js +0 -89
- data/vendor/assets/components/locomotive_sources/moment/locale/kk.js +0 -87
- data/vendor/assets/components/locomotive_sources/moment/locale/km.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/locale/ko.js +0 -68
- data/vendor/assets/components/locomotive_sources/moment/locale/lb.js +0 -134
- data/vendor/assets/components/locomotive_sources/moment/locale/lo.js +0 -69
- data/vendor/assets/components/locomotive_sources/moment/locale/lt.js +0 -115
- data/vendor/assets/components/locomotive_sources/moment/locale/lv.js +0 -96
- data/vendor/assets/components/locomotive_sources/moment/locale/me.js +0 -109
- data/vendor/assets/components/locomotive_sources/moment/locale/mk.js +0 -90
- data/vendor/assets/components/locomotive_sources/moment/locale/ml.js +0 -71
- data/vendor/assets/components/locomotive_sources/moment/locale/mr.js +0 -158
- data/vendor/assets/components/locomotive_sources/moment/locale/ms-my.js +0 -82
- data/vendor/assets/components/locomotive_sources/moment/locale/ms.js +0 -82
- data/vendor/assets/components/locomotive_sources/moment/locale/my.js +0 -93
- data/vendor/assets/components/locomotive_sources/moment/locale/nb.js +0 -61
- data/vendor/assets/components/locomotive_sources/moment/locale/ne.js +0 -121
- data/vendor/assets/components/locomotive_sources/moment/locale/nl.js +0 -71
- data/vendor/assets/components/locomotive_sources/moment/locale/nn.js +0 -60
- data/vendor/assets/components/locomotive_sources/moment/locale/pl.js +0 -105
- data/vendor/assets/components/locomotive_sources/moment/locale/pt-br.js +0 -60
- data/vendor/assets/components/locomotive_sources/moment/locale/pt.js +0 -64
- data/vendor/assets/components/locomotive_sources/moment/locale/ro.js +0 -74
- data/vendor/assets/components/locomotive_sources/moment/locale/ru.js +0 -166
- data/vendor/assets/components/locomotive_sources/moment/locale/se.js +0 -61
- data/vendor/assets/components/locomotive_sources/moment/locale/si.js +0 -66
- data/vendor/assets/components/locomotive_sources/moment/locale/sk.js +0 -150
- data/vendor/assets/components/locomotive_sources/moment/locale/sl.js +0 -160
- data/vendor/assets/components/locomotive_sources/moment/locale/sq.js +0 -69
- data/vendor/assets/components/locomotive_sources/moment/locale/sr-cyrl.js +0 -108
- data/vendor/assets/components/locomotive_sources/moment/locale/sr.js +0 -108
- data/vendor/assets/components/locomotive_sources/moment/locale/sv.js +0 -67
- data/vendor/assets/components/locomotive_sources/moment/locale/sw.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/locale/ta.js +0 -129
- data/vendor/assets/components/locomotive_sources/moment/locale/te.js +0 -88
- data/vendor/assets/components/locomotive_sources/moment/locale/th.js +0 -65
- data/vendor/assets/components/locomotive_sources/moment/locale/tl-ph.js +0 -62
- data/vendor/assets/components/locomotive_sources/moment/locale/tlh.js +0 -119
- data/vendor/assets/components/locomotive_sources/moment/locale/tr.js +0 -90
- data/vendor/assets/components/locomotive_sources/moment/locale/tzl.js +0 -87
- data/vendor/assets/components/locomotive_sources/moment/locale/tzm-latn.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/locale/tzm.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/locale/uk.js +0 -146
- data/vendor/assets/components/locomotive_sources/moment/locale/uz.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/locale/vi.js +0 -66
- data/vendor/assets/components/locomotive_sources/moment/locale/zh-cn.js +0 -127
- data/vendor/assets/components/locomotive_sources/moment/locale/zh-tw.js +0 -101
- data/vendor/assets/components/locomotive_sources/moment/min/locales.js +0 -7548
- data/vendor/assets/components/locomotive_sources/moment/min/locales.min.js +0 -72
- data/vendor/assets/components/locomotive_sources/moment/min/moment-with-locales.js +0 -11144
- data/vendor/assets/components/locomotive_sources/moment/min/moment-with-locales.min.js +0 -74
- data/vendor/assets/components/locomotive_sources/moment/min/moment.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/min/tests.js +0 -46196
- data/vendor/assets/components/locomotive_sources/moment/moment.js +0 -3606
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/check-overflow.js +0 -34
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/date-from-array.js +0 -21
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-anything.js +0 -101
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-array.js +0 -136
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-object.js +0 -16
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string-and-array.js +0 -50
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string-and-format.js +0 -104
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string.js +0 -120
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/local.js +0 -5
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/parsing-flags.js +0 -22
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/utc.js +0 -5
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/valid.js +0 -37
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/abs.js +0 -18
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/add-subtract.js +0 -21
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/as.js +0 -55
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/bubble.js +0 -61
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/constructor.js +0 -41
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/create.js +0 -117
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/duration.js +0 -12
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/get.js +0 -25
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/humanize.js +0 -64
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/iso-string.js +0 -52
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/prototype.js +0 -48
- data/vendor/assets/components/locomotive_sources/moment/src/lib/format/format.js +0 -92
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/calendar.js +0 -15
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/constructor.js +0 -2
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/en.js +0 -15
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/formats.js +0 -23
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/invalid.js +0 -5
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/lists.js +0 -48
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/locale.js +0 -35
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/locales.js +0 -118
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/ordinal.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/pre-post-format.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/prototype.js +0 -76
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/relative.js +0 -29
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/set.js +0 -16
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/add-subtract.js +0 -52
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/calendar.js +0 -21
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/clone.js +0 -5
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/compare.js +0 -57
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/constructor.js +0 -74
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/creation-data.js +0 -9
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/diff.js +0 -61
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/format.js +0 -28
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/from.js +0 -17
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/get-set.js +0 -43
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/locale.js +0 -34
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/min-max.js +0 -63
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/moment.js +0 -28
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/now.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/prototype.js +0 -149
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/start-end-of.js +0 -52
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/to-type.js +0 -34
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/to.js +0 -17
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/valid.js +0 -15
- data/vendor/assets/components/locomotive_sources/moment/src/lib/parse/regex.js +0 -54
- data/vendor/assets/components/locomotive_sources/moment/src/lib/parse/token.js +0 -32
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/aliases.js +0 -29
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/constants.js +0 -9
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-month.js +0 -32
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-week.js +0 -162
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-year.js +0 -32
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/hour.js +0 -129
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/millisecond.js +0 -64
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/minute.js +0 -24
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/month.js +0 -209
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/offset.js +0 -219
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/quarter.js +0 -27
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/second.js +0 -24
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/timestamp.js +0 -20
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/timezone.js +0 -16
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/units.js +0 -20
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week-calendar-utils.js +0 -65
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week-year.js +0 -101
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week.js +0 -61
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/year.js +0 -70
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/abs-ceil.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/abs-floor.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/compare-arrays.js +0 -16
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/defaults.js +0 -10
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/deprecate.js +0 -33
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/extend.js +0 -19
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/has-own-prop.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/hooks.js +0 -13
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-array.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-date.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-function.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-undefined.js +0 -3
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/map.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/to-int.js +0 -12
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/zero-fill.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/src/locale/af.js +0 -63
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-ma.js +0 -50
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-sa.js +0 -94
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-tn.js +0 -48
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar.js +0 -127
- data/vendor/assets/components/locomotive_sources/moment/src/locale/az.js +0 -95
- data/vendor/assets/components/locomotive_sources/moment/src/locale/be.js +0 -125
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bg.js +0 -81
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bn.js +0 -104
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bo.js +0 -101
- data/vendor/assets/components/locomotive_sources/moment/src/locale/br.js +0 -98
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bs.js +0 -132
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ca.js +0 -70
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cs.js +0 -162
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cv.js +0 -53
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cy.js +0 -70
- data/vendor/assets/components/locomotive_sources/moment/src/locale/da.js +0 -51
- data/vendor/assets/components/locomotive_sources/moment/src/locale/de-at.js +0 -67
- data/vendor/assets/components/locomotive_sources/moment/src/locale/de.js +0 -66
- data/vendor/assets/components/locomotive_sources/moment/src/locale/dv.js +0 -89
- data/vendor/assets/components/locomotive_sources/moment/src/locale/el.js +0 -86
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-au.js +0 -57
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-ca.js +0 -54
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-gb.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-ie.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-nz.js +0 -56
- data/vendor/assets/components/locomotive_sources/moment/src/locale/eo.js +0 -64
- data/vendor/assets/components/locomotive_sources/moment/src/locale/es.js +0 -70
- data/vendor/assets/components/locomotive_sources/moment/src/locale/et.js +0 -71
- data/vendor/assets/components/locomotive_sources/moment/src/locale/eu.js +0 -55
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fa.js +0 -96
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fi.js +0 -98
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fo.js +0 -51
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr-ca.js +0 -49
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr-ch.js +0 -53
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr.js +0 -53
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fy.js +0 -62
- data/vendor/assets/components/locomotive_sources/moment/src/locale/gd.js +0 -67
- data/vendor/assets/components/locomotive_sources/moment/src/locale/gl.js +0 -66
- data/vendor/assets/components/locomotive_sources/moment/src/locale/he.js +0 -73
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hi.js +0 -114
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hr.js +0 -134
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hu.js +0 -100
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hy-am.js +0 -86
- data/vendor/assets/components/locomotive_sources/moment/src/locale/id.js +0 -74
- data/vendor/assets/components/locomotive_sources/moment/src/locale/is.js +0 -118
- data/vendor/assets/components/locomotive_sources/moment/src/locale/it.js +0 -61
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ja.js +0 -56
- data/vendor/assets/components/locomotive_sources/moment/src/locale/jv.js +0 -73
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ka.js +0 -80
- data/vendor/assets/components/locomotive_sources/moment/src/locale/kk.js +0 -77
- data/vendor/assets/components/locomotive_sources/moment/src/locale/km.js +0 -49
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ko.js +0 -59
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lb.js +0 -125
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lo.js +0 -60
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lt.js +0 -106
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lv.js +0 -87
- data/vendor/assets/components/locomotive_sources/moment/src/locale/me.js +0 -99
- data/vendor/assets/components/locomotive_sources/moment/src/locale/mk.js +0 -81
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ml.js +0 -62
- data/vendor/assets/components/locomotive_sources/moment/src/locale/mr.js +0 -149
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ms-my.js +0 -73
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ms.js +0 -73
- data/vendor/assets/components/locomotive_sources/moment/src/locale/my.js +0 -84
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nb.js +0 -52
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ne.js +0 -112
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nl.js +0 -62
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nn.js +0 -51
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pl.js +0 -95
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pt-br.js +0 -51
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pt.js +0 -55
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ro.js +0 -65
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ru.js +0 -156
- data/vendor/assets/components/locomotive_sources/moment/src/locale/se.js +0 -51
- data/vendor/assets/components/locomotive_sources/moment/src/locale/si.js +0 -56
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sk.js +0 -141
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sl.js +0 -150
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sq.js +0 -60
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sr-cyrl.js +0 -99
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sr.js +0 -99
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sv.js +0 -58
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sw.js +0 -49
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ta.js +0 -120
- data/vendor/assets/components/locomotive_sources/moment/src/locale/te.js +0 -78
- data/vendor/assets/components/locomotive_sources/moment/src/locale/th.js +0 -56
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tl-ph.js +0 -53
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tlh.js +0 -109
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tr.js +0 -81
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzl.js +0 -78
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzm-latn.js +0 -49
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzm.js +0 -49
- data/vendor/assets/components/locomotive_sources/moment/src/locale/uk.js +0 -137
- data/vendor/assets/components/locomotive_sources/moment/src/locale/uz.js +0 -49
- data/vendor/assets/components/locomotive_sources/moment/src/locale/vi.js +0 -57
- data/vendor/assets/components/locomotive_sources/moment/src/locale/zh-cn.js +0 -118
- data/vendor/assets/components/locomotive_sources/moment/src/locale/zh-tw.js +0 -91
- data/vendor/assets/components/locomotive_sources/moment/src/moment.js +0 -71
- data/vendor/assets/components/locomotive_sources/moment/templates/amd-named.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/templates/amd.js +0 -7
- data/vendor/assets/components/locomotive_sources/moment/templates/default.js +0 -5
- data/vendor/assets/components/locomotive_sources/moment/templates/globals.js +0 -5
- data/vendor/assets/components/locomotive_sources/moment/templates/locale-header.js +0 -6
- data/vendor/assets/components/locomotive_sources/moment/templates/test-header.js +0 -6
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/Gemfile +0 -3
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/Gruntfile.js +0 -110
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/LICENSE +0 -8
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/README.md +0 -91
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.3.2.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.1.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.2.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.3.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.4.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.4.5.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.5.1.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/3.5.2.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_config.yml +0 -13
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/footer-links.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/footer.html +0 -10
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/head.html +0 -13
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/navbar.html +0 -21
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_includes/select2-select.html +0 -55
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_layouts/default.html +0 -489
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_layouts/minimal.html +0 -7
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_extends.sass +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_mixins.sass +0 -9
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_select2-result-repository.sass +0 -40
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/_sass/_variables.sass +0 -1
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/css/bootstrap.min.css +0 -5
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/css/gh-pages.sass +0 -103
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/css/select2-bootstrap.css +0 -495
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/favicon.ico +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.svg +0 -288
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/index.html +0 -77
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/js/bootstrap.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/js/respond.min.js +0 -5
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/_jekyll/master.html +0 -4
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/bower.json +0 -20
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/compass/stylesheets/select2-bootstrap.scss +0 -1
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.3.2.html +0 -1668
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.1.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.2.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.3.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.4.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.4.5.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.5.1.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/3.5.2.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/css/bootstrap.min.css +0 -5
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/css/gh-pages.css +0 -142
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/css/select2-bootstrap.css +0 -495
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/favicon.ico +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.svg +0 -288
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/index.html +0 -293
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/js/bootstrap.min.js +0 -7
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/js/respond.min.js +0 -5
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/docs/master.html +0 -1662
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/build.less +0 -3
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/build.scss +0 -3
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap-css.rb +0 -11
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap.less +0 -480
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap.scss +0 -480
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/lib/select2-bootstrap/version.rb +0 -9
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/package.json +0 -48
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/select2-bootstrap-css.gemspec +0 -22
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/select2-bootstrap.css +0 -495
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/select2-bootstrap.min.css +0 -1
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/less_test.js +0 -25
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/scss_test.js +0 -25
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/support/less.patch +0 -416
- data/vendor/assets/components/locomotive_sources/select2-bootstrap-css/test/support/scss.patch +0 -4
- data/vendor/assets/components/locomotive_sources/select2/CONTRIBUTING.md +0 -204
- data/vendor/assets/components/locomotive_sources/select2/Gruntfile.js +0 -370
- data/vendor/assets/components/locomotive_sources/select2/LICENSE.md +0 -21
- data/vendor/assets/components/locomotive_sources/select2/README.md +0 -105
- data/vendor/assets/components/locomotive_sources/select2/bower.json +0 -12
- data/vendor/assets/components/locomotive_sources/select2/component.json +0 -19
- data/vendor/assets/components/locomotive_sources/select2/composer.json +0 -25
- data/vendor/assets/components/locomotive_sources/select2/dist/css/select2.css +0 -482
- data/vendor/assets/components/locomotive_sources/select2/dist/css/select2.min.css +0 -1
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ar.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/az.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/bg.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ca.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/cs.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/da.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/de.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/en.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/es.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/et.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/eu.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/fa.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/fi.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/fr.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/gl.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/he.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/hi.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/hr.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/hu.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/id.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/is.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/it.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ja.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ko.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/lt.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/lv.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/mk.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ms.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/nb.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/nl.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/pl.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/pt-BR.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/pt.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ro.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/ru.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sk.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sr-Cyrl.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sr.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/sv.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/th.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/tr.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/uk.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/vi.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/zh-CN.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/i18n/zh-TW.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.full.js +0 -6281
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.full.min.js +0 -3
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.js +0 -5571
- data/vendor/assets/components/locomotive_sources/select2/dist/js/select2.min.js +0 -2
- data/vendor/assets/components/locomotive_sources/select2/docs/README.md +0 -38
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/basics.html +0 -65
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/data.html +0 -128
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/disabled-mode.html +0 -43
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/disabled-results.html +0 -32
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/hide-search.html +0 -25
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/localization-rtl-diacritics.html +0 -90
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/matcher.html +0 -43
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/multiple-max.html +0 -28
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/placeholders.html +0 -37
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/programmatic-control.html +0 -156
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/tags.html +0 -33
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/themes-templating-responsive-design.html +0 -111
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/examples/tokenizer.html +0 -36
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/footer.html +0 -20
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/ga.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/head.html +0 -19
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/js-source-states.html +0 -62
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/announcements-4.0.html +0 -26
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/examples.html +0 -96
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/options-old.html +0 -55
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/nav/options.html +0 -77
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/navigation.html +0 -53
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/notice-previous.html +0 -7
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/adapters.html +0 -209
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/backwards-compatibility.html +0 -200
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/core-options.html +0 -790
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/dropdown.html +0 -308
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/events.html +0 -50
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options-old/setting-default-options.html +0 -37
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility.html +0 -10
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/initial-selection.html +0 -50
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/introduction.html +0 -18
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/matcher.html +0 -50
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/query-function.html +0 -50
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/compatibility/text-input.html +0 -32
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core/amd-support.html +0 -38
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core/data-attributes.html +0 -72
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/core/options.html +0 -58
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data/ajax.html +0 -109
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data/array.html +0 -53
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/data/select.html +0 -57
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown/filtering.html +0 -23
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown/placement.html +0 -29
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/dropdown/selections.html +0 -17
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/events.html +0 -8
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/events/internal.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/events/jquery.html +0 -29
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/introduction.html +0 -9
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/not-written.html +0 -3
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections.html +0 -10
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/clearing-selections.html +0 -17
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/multiple.html +0 -17
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/placeholder.html +0 -53
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/options/selections/templating.html +0 -23
- data/vendor/assets/components/locomotive_sources/select2/docs/_includes/social-buttons.html +0 -10
- data/vendor/assets/components/locomotive_sources/select2/docs/_layouts/default.html +0 -57
- data/vendor/assets/components/locomotive_sources/select2/docs/_layouts/home.html +0 -23
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_alert.scss +0 -47
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_anchorjs.scss +0 -27
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_buttons.scss +0 -20
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_code.scss +0 -16
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_examples.scss +0 -90
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_featurette.scss +0 -16
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_footer.scss +0 -42
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_hamburger.scss +0 -49
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_home.scss +0 -31
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_jumbotron.scss +0 -24
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_layout.scss +0 -14
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_nav.scss +0 -58
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_prettify.scss +0 -51
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_result-repository.scss +0 -62
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_sidenav.scss +0 -152
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_social.scss +0 -35
- data/vendor/assets/components/locomotive_sources/select2/docs/_sass/_typography.scss +0 -6
- data/vendor/assets/components/locomotive_sources/select2/docs/announcements-4.0.html +0 -752
- data/vendor/assets/components/locomotive_sources/select2/docs/community.html +0 -154
- data/vendor/assets/components/locomotive_sources/select2/docs/css/s2-docs.scss +0 -19
- data/vendor/assets/components/locomotive_sources/select2/docs/examples.html +0 -254
- data/vendor/assets/components/locomotive_sources/select2/docs/images/logo.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/index.html +0 -238
- data/vendor/assets/components/locomotive_sources/select2/docs/options-old.html +0 -37
- data/vendor/assets/components/locomotive_sources/select2/docs/options.html +0 -37
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/css/bootstrap.min.css +0 -5
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/css/font-awesome.min.css +0 -4
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/FontAwesome.otf +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.svg +0 -655
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/fonts/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ak.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/al.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ar.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/az.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ca.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/co.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ct.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/de.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/fl.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ga.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/hi.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ia.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/id.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/il.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/in.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ks.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ky.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/la.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ma.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/md.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/me.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mi.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mn.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mo.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ms.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/mt.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nc.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nd.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ne.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nh.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nj.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nm.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/nv.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ny.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/oh.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ok.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/or.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/pa.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ri.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/sc.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/sd.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/tn.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/tx.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/ut.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/va.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/vt.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wa.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wi.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wv.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/images/flags/wy.png +0 -0
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/anchor.min.js +0 -6
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/bootstrap.min.js +0 -6
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/jquery.min.js +0 -4
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/placeholders.jquery.min.js +0 -2
- data/vendor/assets/components/locomotive_sources/select2/docs/vendor/js/prettify.min.js +0 -28
- data/vendor/assets/components/locomotive_sources/select2/package.json +0 -66
- data/vendor/assets/components/locomotive_sources/select2/select2.jquery.json +0 -32
- data/vendor/assets/components/locomotive_sources/select2/src/js/banner.end.js +0 -6
- data/vendor/assets/components/locomotive_sources/select2/src/js/banner.start.js +0 -6
- data/vendor/assets/components/locomotive_sources/select2/src/js/jquery.mousewheel.shim.js +0 -6
- data/vendor/assets/components/locomotive_sources/select2/src/js/jquery.select2.js +0 -58
- data/vendor/assets/components/locomotive_sources/select2/src/js/jquery.shim.js +0 -14
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/containerCss.js +0 -56
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/dropdownCss.js +0 -56
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/initSelection.js +0 -42
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/inputData.js +0 -127
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/matcher.js +0 -42
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/query.js +0 -26
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/compat/utils.js +0 -43
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/core.js +0 -545
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/ajax.js +0 -101
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/array.js +0 -79
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/base.js +0 -40
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/maximumInputLength.js +0 -31
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/maximumSelectionLength.js +0 -31
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/minimumInputLength.js +0 -30
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/select.js +0 -285
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/tags.js +0 -119
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/data/tokenizer.js +0 -93
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/defaults.js +0 -396
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/diacritics.js +0 -847
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown.js +0 -42
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/attachBody.js +0 -216
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/attachContainer.js +0 -18
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/closeOnSelect.js +0 -32
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/hidePlaceholder.js +0 -42
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/infiniteScroll.js +0 -89
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/minimumResultsForSearch.js +0 -39
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/search.js +0 -95
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/selectOnClose.js +0 -40
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/dropdown/stopPropagation.js +0 -38
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ar.js +0 -36
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/az.js +0 -27
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/bg.js +0 -47
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ca.js +0 -52
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/cs.js +0 -61
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/da.js +0 -40
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/de.js +0 -37
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/en.js +0 -44
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/es.js +0 -52
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/et.js +0 -53
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/eu.js +0 -51
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/fa.js +0 -38
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/fi.js +0 -27
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/fr.js +0 -46
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/gl.js +0 -51
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/he.js +0 -56
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/hi.js +0 -39
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/hr.js +0 -44
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/hu.js +0 -27
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/id.js +0 -30
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/is.js +0 -41
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/it.js +0 -48
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ja.js +0 -36
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ko.js +0 -36
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/lt.js +0 -51
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/lv.js +0 -51
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/mk.js +0 -47
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ms.js +0 -30
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/nb.js +0 -35
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/nl.js +0 -43
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/pl.js +0 -45
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/pt-BR.js +0 -46
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/pt.js +0 -40
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ro.js +0 -48
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/ru.js +0 -58
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sk.js +0 -56
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sr-Cyrl.js +0 -55
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sr.js +0 -55
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/sv.js +0 -37
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/th.js +0 -33
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/tr.js +0 -33
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/uk.js +0 -43
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/vi.js +0 -37
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/zh-CN.js +0 -36
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/i18n/zh-TW.js +0 -33
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/keys.js +0 -25
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/options.js +0 -122
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/results.js +0 -516
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/allowClear.js +0 -97
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/base.js +0 -158
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/clickMask.js +0 -29
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/eventRelay.js +0 -45
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/multiple.js +0 -109
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/placeholder.js +0 -49
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/search.js +0 -222
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/single.js +0 -93
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/selection/stopPropagation.js +0 -38
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/translation.js +0 -36
- data/vendor/assets/components/locomotive_sources/select2/src/js/select2/utils.js +0 -262
- data/vendor/assets/components/locomotive_sources/select2/src/js/wrapper.end.js +0 -12
- data/vendor/assets/components/locomotive_sources/select2/src/js/wrapper.start.js +0 -23
- data/vendor/assets/components/locomotive_sources/select2/src/scss/_dropdown.scss +0 -73
- data/vendor/assets/components/locomotive_sources/select2/src/scss/_multiple.scss +0 -35
- data/vendor/assets/components/locomotive_sources/select2/src/scss/_single.scss +0 -34
- data/vendor/assets/components/locomotive_sources/select2/src/scss/core.scss +0 -48
- data/vendor/assets/components/locomotive_sources/select2/src/scss/mixins/_gradients.scss +0 -13
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/_defaults.scss +0 -34
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/_multiple.scss +0 -93
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/_single.scss +0 -124
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/classic/layout.scss +0 -64
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/default/_multiple.scss +0 -94
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/default/_single.scss +0 -83
- data/vendor/assets/components/locomotive_sources/select2/src/scss/theme/default/layout.scss +0 -97
- data/vendor/assets/components/locomotive_sources/select2/tests/a11y/search-tests.js +0 -51
- data/vendor/assets/components/locomotive_sources/select2/tests/a11y/selection-tests.js +0 -154
- data/vendor/assets/components/locomotive_sources/select2/tests/data/array-tests.js +0 -290
- data/vendor/assets/components/locomotive_sources/select2/tests/data/base-tests.js +0 -29
- data/vendor/assets/components/locomotive_sources/select2/tests/data/inputData-tests.js +0 -158
- data/vendor/assets/components/locomotive_sources/select2/tests/data/maximumInputLength-tests.js +0 -138
- data/vendor/assets/components/locomotive_sources/select2/tests/data/maximumSelectionLength-tests.js +0 -202
- data/vendor/assets/components/locomotive_sources/select2/tests/data/minimumInputLength-tests.js +0 -138
- data/vendor/assets/components/locomotive_sources/select2/tests/data/select-tests.js +0 -457
- data/vendor/assets/components/locomotive_sources/select2/tests/data/tags-tests.js +0 -241
- data/vendor/assets/components/locomotive_sources/select2/tests/data/tokenizer-tests.js +0 -171
- data/vendor/assets/components/locomotive_sources/select2/tests/dropdown/dropdownCss-tests.js +0 -104
- data/vendor/assets/components/locomotive_sources/select2/tests/dropdown/selectOnClose-tests.js +0 -137
- data/vendor/assets/components/locomotive_sources/select2/tests/dropdown/stopPropagation-tests.js +0 -33
- data/vendor/assets/components/locomotive_sources/select2/tests/helpers.js +0 -46
- data/vendor/assets/components/locomotive_sources/select2/tests/integration.html +0 -19
- data/vendor/assets/components/locomotive_sources/select2/tests/integration/select2-methods.js +0 -139
- data/vendor/assets/components/locomotive_sources/select2/tests/options/data-tests.js +0 -44
- data/vendor/assets/components/locomotive_sources/select2/tests/options/deprecated-tests.js +0 -250
- data/vendor/assets/components/locomotive_sources/select2/tests/options/translation-tests.js +0 -28
- data/vendor/assets/components/locomotive_sources/select2/tests/options/width-tests.js +0 -66
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/allowClear-tests.js +0 -218
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/containerCss-tests.js +0 -104
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/multiple-tests.js +0 -149
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/placeholder-tests.js +0 -74
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/search-tests.js +0 -139
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/single-tests.js +0 -117
- data/vendor/assets/components/locomotive_sources/select2/tests/selection/stopPropagation-tests.js +0 -33
- data/vendor/assets/components/locomotive_sources/select2/tests/unit.html +0 -91
- data/vendor/assets/components/locomotive_sources/select2/tests/utils/decorator-tests.js +0 -189
- data/vendor/assets/components/locomotive_sources/select2/tests/utils/escapeMarkup-tests.js +0 -36
- data/vendor/assets/components/locomotive_sources/select2/tests/vendor/jquery-1.7.2.js +0 -9404
- data/vendor/assets/components/locomotive_sources/select2/tests/vendor/qunit-1.14.0.css +0 -237
- data/vendor/assets/components/locomotive_sources/select2/tests/vendor/qunit-1.14.0.js +0 -2288
- data/vendor/assets/components/locomotive_sources/select2/vendor/jquery-2.1.0.js +0 -9111
- data/vendor/assets/components/locomotive_sources/underscore/LICENSE +0 -23
- data/vendor/assets/components/locomotive_sources/underscore/README.md +0 -22
- data/vendor/assets/components/locomotive_sources/underscore/bower.json +0 -7
- data/vendor/assets/components/locomotive_sources/underscore/underscore-min.js +0 -6
- data/vendor/assets/components/locomotive_sources/underscore/underscore-min.map +0 -1
- data/vendor/assets/components/locomotive_sources/underscore/underscore.js +0 -1548
@@ -1,200 +0,0 @@
|
|
1
|
-
<section>
|
2
|
-
<div class="page-header">
|
3
|
-
<h1 id="compatibility">Backwards compatibility</h1>
|
4
|
-
</div>
|
5
|
-
|
6
|
-
<p>
|
7
|
-
Select2 offers limited backwards compatibility with the previously 3.5.x
|
8
|
-
release line, allowing people more efficiently transfer across releases
|
9
|
-
and get the latest features. For many of the larger changes, such as the
|
10
|
-
change in how custom data adapters work, compatibility modules were
|
11
|
-
created that will be used to assist in the upgrade process. It is not
|
12
|
-
recommended to rely on these compatibility modules, as they will not
|
13
|
-
always exist, but they make upgrading easier for major changes.
|
14
|
-
</p>
|
15
|
-
|
16
|
-
<p>
|
17
|
-
<strong>The compatibility modules are only included in the
|
18
|
-
<a href="index.html#builds-full" class="alert-link">full builds</a> of
|
19
|
-
Select2</strong>. These files end in <code>.full.js</code>, and the
|
20
|
-
compatibility modules are prefixed with <code>select2/compat</code>.
|
21
|
-
</p>
|
22
|
-
|
23
|
-
<h2 id="compat-matcher">
|
24
|
-
Simplified function for matching data objects
|
25
|
-
</h2>
|
26
|
-
|
27
|
-
<p class="alert alert-info">
|
28
|
-
<a href="announcements-4.0.html#new-matcher" class="alert-link">Added in Select2 4.0.0.</a>
|
29
|
-
This method was added to make upgrading easier from earlier versions of
|
30
|
-
Select2.
|
31
|
-
</p>
|
32
|
-
|
33
|
-
<p>
|
34
|
-
During the <a href="announcements-4.0.html">Select2 4.0.0 release</a>, the
|
35
|
-
<code>matcher</code> function was changed to allow for more complex
|
36
|
-
matching of nested objects.
|
37
|
-
</p>
|
38
|
-
|
39
|
-
<div class="row">
|
40
|
-
<div class="col-sm-6">
|
41
|
-
<dl class="dl-horizontal">
|
42
|
-
<dt>Key</dt>
|
43
|
-
<dd>
|
44
|
-
<code>matcher</code>
|
45
|
-
</dd>
|
46
|
-
|
47
|
-
<dt>Value</dt>
|
48
|
-
<dd>
|
49
|
-
A function taking a search <code>term</code> and the data object
|
50
|
-
<code>text</code>.
|
51
|
-
</dd>
|
52
|
-
</dl>
|
53
|
-
</div>
|
54
|
-
|
55
|
-
<div class="col-sm-6">
|
56
|
-
<dl class="dl-horizontal">
|
57
|
-
<dt>Adapter</dt>
|
58
|
-
<dd>
|
59
|
-
<code title="select2/compat/matcher">oldMatcher</code>
|
60
|
-
</dd>
|
61
|
-
</dl>
|
62
|
-
</div>
|
63
|
-
</div>
|
64
|
-
|
65
|
-
<p>
|
66
|
-
The <a href="examples.html#matcher">custom matcher example</a> provides a
|
67
|
-
guide for how to use this in your own application. For those upgrading
|
68
|
-
from older versions of Select2, you just need to wrap your old
|
69
|
-
<code>matcher</code> with this function to maintain compatibility.
|
70
|
-
</p>
|
71
|
-
|
72
|
-
<h2 id="initSelection">
|
73
|
-
Old initial selections with <code>initSelection</code>
|
74
|
-
</h2>
|
75
|
-
|
76
|
-
<p class="alert alert-warning">
|
77
|
-
<a href="announcements-4.0.html#removed-initselection" class="alert-link">Deprecated in Select2 4.0.</a>
|
78
|
-
This has been replaced by another option and is only available in the
|
79
|
-
<a href="index.html#builds-full" class="alert-link">full builds</a> of
|
80
|
-
Select2.
|
81
|
-
</p>
|
82
|
-
|
83
|
-
<p>
|
84
|
-
In the past, Select2 required an option called <code>initSelection</code>
|
85
|
-
that was defined whenever a custom data source was being used, allowing
|
86
|
-
for the initial selection for the component to be determined. This has
|
87
|
-
been replaced by the <code>current</code> method on the
|
88
|
-
<a href="#dataAdapter">data adapter</a>.
|
89
|
-
</p>
|
90
|
-
|
91
|
-
<div class="row">
|
92
|
-
<div class="col-sm-6">
|
93
|
-
<dl class="dl-horizontal">
|
94
|
-
<dt>Key</dt>
|
95
|
-
<dd>
|
96
|
-
<code>initSelection</code>
|
97
|
-
</dd>
|
98
|
-
|
99
|
-
<dt>Value</dt>
|
100
|
-
<dd>
|
101
|
-
A function taking a <code>callback</code>
|
102
|
-
</dd>
|
103
|
-
</dl>
|
104
|
-
</div>
|
105
|
-
|
106
|
-
<div class="col-sm-6">
|
107
|
-
<dl class="dl-horizontal">
|
108
|
-
<dt>Adapter</dt>
|
109
|
-
<dd>
|
110
|
-
<code title="select2/data/base">DataAdapter</code>
|
111
|
-
</dd>
|
112
|
-
|
113
|
-
<dt>Decorator</dt>
|
114
|
-
<dd>
|
115
|
-
<code title="select2/compat/initSelection">InitSelection</code>
|
116
|
-
</dd>
|
117
|
-
</dl>
|
118
|
-
</div>
|
119
|
-
</div>
|
120
|
-
|
121
|
-
<h2 id="query">
|
122
|
-
Querying old data with <code>query</code>
|
123
|
-
</h2>
|
124
|
-
|
125
|
-
<p class="alert alert-warning">
|
126
|
-
<a href="announcements-4.0.html#query-to-data-adapter" class="alert-link">Deprecated in Select2 4.0.</a>
|
127
|
-
This has been replaced by another option and is only available in the
|
128
|
-
<a href="index.html#builds-full" class="alert-link">full builds</a> of
|
129
|
-
Select2.
|
130
|
-
</p>
|
131
|
-
|
132
|
-
<p>
|
133
|
-
In the past, Select2 supported an option called <code>query</code> that
|
134
|
-
allowed for a custom data source to be used. This option has been replaced
|
135
|
-
by the <code>query</code> method on the
|
136
|
-
<a href="#dataAdapter">data adapter</a> and takes a very similar set of
|
137
|
-
parameters.
|
138
|
-
</p>
|
139
|
-
|
140
|
-
<div class="row">
|
141
|
-
<div class="col-sm-6">
|
142
|
-
<dl class="dl-horizontal">
|
143
|
-
<dt>Key</dt>
|
144
|
-
<dd>
|
145
|
-
<code>query</code>
|
146
|
-
</dd>
|
147
|
-
|
148
|
-
<dt>Value</dt>
|
149
|
-
<dd>
|
150
|
-
A function taking <code>params</code> (including a <code>callback</code>)
|
151
|
-
</dd>
|
152
|
-
</dl>
|
153
|
-
</div>
|
154
|
-
|
155
|
-
<div class="col-sm-6">
|
156
|
-
<dl class="dl-horizontal">
|
157
|
-
<dt>Adapter</dt>
|
158
|
-
<dd>
|
159
|
-
<code title="select2/data/base">DataAdapter</code>
|
160
|
-
</dd>
|
161
|
-
|
162
|
-
<dt>Decorator</dt>
|
163
|
-
<dd>
|
164
|
-
<code title="select2/compat/query">Query</code>
|
165
|
-
</dd>
|
166
|
-
</dl>
|
167
|
-
</div>
|
168
|
-
</div>
|
169
|
-
|
170
|
-
<h2 id="input-fallback">
|
171
|
-
Compatibility with <code><input type="text" /></code>
|
172
|
-
</h2>
|
173
|
-
|
174
|
-
<p class="alert alert-warning">
|
175
|
-
<a href="announcements-4.0.html#hidden-input" class="alert-link">Deprecated in Select2 4.0.</a>
|
176
|
-
It is now encouraged to use the <code><select></code> tag instead.
|
177
|
-
</p>
|
178
|
-
|
179
|
-
<p>
|
180
|
-
In past versions of Select2, a <code><select></code> element could
|
181
|
-
only be used with a limited subset of options. An
|
182
|
-
<code><input type="hidden" /></code> was required instead, which did
|
183
|
-
not allow for a graceful fallback for users who did not have JavaScript
|
184
|
-
enabled. Select2 now supports the <code><select></code> element for
|
185
|
-
all options, so it is no longer required to use <code><input /></code>
|
186
|
-
elements with Select2.
|
187
|
-
</p>
|
188
|
-
|
189
|
-
<dl class="dl-horizontal">
|
190
|
-
<dt>Adapter</dt>
|
191
|
-
<dd>
|
192
|
-
<code title="select2/data/base">DataAdapter</code>
|
193
|
-
</dd>
|
194
|
-
|
195
|
-
<dt>Decorator</dt>
|
196
|
-
<dd>
|
197
|
-
<code title="select2/compat/inputData">InputData</code>
|
198
|
-
</dd>
|
199
|
-
</dl>
|
200
|
-
</section>
|
@@ -1,790 +0,0 @@
|
|
1
|
-
<section>
|
2
|
-
<h1 id="core-options" class="page-header">Core options</h1>
|
3
|
-
|
4
|
-
<p>
|
5
|
-
Select2 supports a small subset of options in every build that is
|
6
|
-
generated. Each option typically has a decorator that is required that
|
7
|
-
wraps an adapter, adding support for the option. This is only required
|
8
|
-
when a custom adapter is being used, as Select2 will build the required
|
9
|
-
adapters by default.
|
10
|
-
</p>
|
11
|
-
|
12
|
-
<p>
|
13
|
-
Select2 will automatically apply decorators to any adapters which have not
|
14
|
-
been manually overridden. The only time you need to decorate adapters is
|
15
|
-
when you are using third-party adapters not provided by Select2, or you
|
16
|
-
are using features not provided in the Select2 core. You can apply a
|
17
|
-
decorator to an adapter using the
|
18
|
-
<code title="select2/utils">Utils.Decorate</code> method provided with
|
19
|
-
Select2.
|
20
|
-
</p>
|
21
|
-
|
22
|
-
<pre class="prettyprint linenums">
|
23
|
-
$.fn.select2.amd.require(
|
24
|
-
["select2/utils", "select2/selection/single", "select2/selection/placeholder"],
|
25
|
-
function (Utils, SingleSelection, Placeholder) {
|
26
|
-
var CustomSelectionAdapter = Utils.Decorate(SingleSelection, Placeholder);
|
27
|
-
});
|
28
|
-
</pre>
|
29
|
-
|
30
|
-
<p>
|
31
|
-
All core options that use decorators or adapters will clearly state it
|
32
|
-
in the "Decorator" or "Adapter" part of the documentation. Decorators are
|
33
|
-
typically only compatible with a specific type of adapter, so make sure to
|
34
|
-
note what adapter is given.
|
35
|
-
</p>
|
36
|
-
|
37
|
-
<h2 id="data-attributes">
|
38
|
-
Declaring configuration in the <code>data-*</code> attributes
|
39
|
-
</h2>
|
40
|
-
|
41
|
-
<p>
|
42
|
-
It is recommended that you declare your configuration options for Select2
|
43
|
-
when initializing Select2. You can also define your configuration options
|
44
|
-
by using the HTML5 <code>data-*</code> attributes, which will override
|
45
|
-
any options set when initializing Select2 and any defaults.
|
46
|
-
</p>
|
47
|
-
|
48
|
-
<p>
|
49
|
-
This means that if you declare your <code><select></code> tag as...
|
50
|
-
</p>
|
51
|
-
|
52
|
-
<pre class="prettyprint">
|
53
|
-
<select data-tags="true" data-placeholder="Select an option"></select>
|
54
|
-
</pre>
|
55
|
-
|
56
|
-
<p>
|
57
|
-
Will be interpreted the same as initializing Select2 as...
|
58
|
-
</p>
|
59
|
-
|
60
|
-
<pre class="prettyprint linenums">
|
61
|
-
$("select").select2({
|
62
|
-
tags: "true",
|
63
|
-
placeholder: "Select an option"
|
64
|
-
});
|
65
|
-
</pre>
|
66
|
-
|
67
|
-
<p>
|
68
|
-
You can also define nested configurations, which are typically needed for
|
69
|
-
options such as AJAX. Each level of nesting should be separated by two
|
70
|
-
dashes (<code>--</code>) instead of one. Due to
|
71
|
-
<a href="https://github.com/jquery/jquery/issues/2070">a jQuery bug</a>,
|
72
|
-
nested options using <code>data-*</code> attributes
|
73
|
-
<a href="https://github.com/select2/select2/issues/2969">do not work in jQuery 1.x</a>.
|
74
|
-
</p>
|
75
|
-
|
76
|
-
<pre class="prettyprint">
|
77
|
-
<select data-ajax--url="http://example.org/api/test" data-ajax--cache="true"></select>
|
78
|
-
</pre>
|
79
|
-
|
80
|
-
<p>
|
81
|
-
Which will be interpreted the same as initializing Select2 with...
|
82
|
-
</p>
|
83
|
-
|
84
|
-
<pre class="prettyprint linenums">
|
85
|
-
$("select").select2({
|
86
|
-
ajax: {
|
87
|
-
url: "http://example.org/api/test",
|
88
|
-
cache: "true"
|
89
|
-
}
|
90
|
-
});
|
91
|
-
</pre>
|
92
|
-
|
93
|
-
<p>
|
94
|
-
The value of the option is subject to jQuery's
|
95
|
-
<a href="https://api.jquery.com/data/#data-html5">parsing rules</a> for
|
96
|
-
HTML5 data attributes.
|
97
|
-
</p>
|
98
|
-
|
99
|
-
<h2 id="amd">
|
100
|
-
AMD compatibility
|
101
|
-
</h2>
|
102
|
-
|
103
|
-
<p>
|
104
|
-
You can find more information on how to integrate Select2 with your
|
105
|
-
existing AMD-based project by
|
106
|
-
<a href="announcements-4.0.html#builds">viewing the 4.0 release notes</a>.
|
107
|
-
Select2 automatically loads some modules when the adapters are being
|
108
|
-
automatically constructed, so those who are using Select2 with a custom
|
109
|
-
AMD build using their own system may need to specify the paths that are
|
110
|
-
generated to the Select2 modules.
|
111
|
-
</p>
|
112
|
-
|
113
|
-
<div class="row">
|
114
|
-
<div class="col-sm-6">
|
115
|
-
<dl class="dl-horizontal">
|
116
|
-
<dt>Key</dt>
|
117
|
-
<dd>
|
118
|
-
<code>amdBase</code>
|
119
|
-
</dd>
|
120
|
-
|
121
|
-
<dt>Default</dt>
|
122
|
-
<dd>
|
123
|
-
<code>select2/</code>
|
124
|
-
</dd>
|
125
|
-
</dl>
|
126
|
-
</div>
|
127
|
-
<div class="col-sm-6">
|
128
|
-
<dl class="dl-horizontal">
|
129
|
-
<dt>Key</dt>
|
130
|
-
<dd>
|
131
|
-
<code>amdLanguageBase</code>
|
132
|
-
</dd>
|
133
|
-
|
134
|
-
<dt>Default</dt>
|
135
|
-
<dd>
|
136
|
-
<code>select2/i18n/</code>
|
137
|
-
</dd>
|
138
|
-
</dl>
|
139
|
-
</div>
|
140
|
-
</div>
|
141
|
-
|
142
|
-
<h2 id="core-options-display">
|
143
|
-
Displaying selections
|
144
|
-
</h2>
|
145
|
-
|
146
|
-
<p>
|
147
|
-
Select2 provides options that allow you to directly affect how the
|
148
|
-
container that holds the current selection is displayed.
|
149
|
-
</p>
|
150
|
-
|
151
|
-
<h3 id="placeholder">
|
152
|
-
Placeholders
|
153
|
-
</h3>
|
154
|
-
|
155
|
-
<p>
|
156
|
-
Select2 can display a placeholder for a single-value select that will
|
157
|
-
replace an option, or be shown when no options are selected for
|
158
|
-
multiple-value selects. You can find an example on the
|
159
|
-
<a href="examples.html#placeholders">example page</a>.
|
160
|
-
</p>
|
161
|
-
|
162
|
-
<div class="row">
|
163
|
-
<div class="col-sm-6">
|
164
|
-
<dl class="dl-horizontal">
|
165
|
-
<dt>Key</dt>
|
166
|
-
<dd>
|
167
|
-
<code>placeholder</code>
|
168
|
-
</dd>
|
169
|
-
|
170
|
-
<dt>Value</dt>
|
171
|
-
<dd>string or object</dd>
|
172
|
-
</dl>
|
173
|
-
|
174
|
-
<hr />
|
175
|
-
|
176
|
-
<dl class="dl-horizontal">
|
177
|
-
<dt>Adapter</dt>
|
178
|
-
<dd>
|
179
|
-
<code title="select2/selection/base">SelectionAdapter</code>
|
180
|
-
</dd>
|
181
|
-
|
182
|
-
<dt>Decorator</dt>
|
183
|
-
<dd>
|
184
|
-
<code title="select2/selection/placeholder">Placeholder</code>
|
185
|
-
and
|
186
|
-
<code title="select2/dropdown/hidePlaceholder">HidePlaceholder</code>
|
187
|
-
</dd>
|
188
|
-
</dl>
|
189
|
-
</div>
|
190
|
-
|
191
|
-
<div class="col-sm-6">
|
192
|
-
<div class="alert alert-warning">
|
193
|
-
<strong>Heads up!</strong>
|
194
|
-
Because browsers assume that the first <code>option</code> in
|
195
|
-
single-value select boxes is selected, you should add an empty
|
196
|
-
<code><option></option></code> tag that the placeholder
|
197
|
-
should use or it may not work.
|
198
|
-
</div>
|
199
|
-
</div>
|
200
|
-
</div>
|
201
|
-
|
202
|
-
<p>
|
203
|
-
If the <strong>value is a string</strong>, the placeholder will be
|
204
|
-
displayed when a <strong>blank option</strong> is used as the placeholder.
|
205
|
-
The <strong>value</strong> will be the message to show to users as the
|
206
|
-
placeholders.
|
207
|
-
</p>
|
208
|
-
|
209
|
-
<pre class="prettyprint">
|
210
|
-
placeholder: "Select a repository"
|
211
|
-
</pre>
|
212
|
-
|
213
|
-
<p>
|
214
|
-
If the <strong>value is an object</strong>, the object should be
|
215
|
-
compatible with Select2's internal objects. The <code>id</code> should
|
216
|
-
be the id to look for when determining if the placeholder should be
|
217
|
-
displayed. The <code>text</code> should be the placeholder to display
|
218
|
-
when that option is selected.
|
219
|
-
</p>
|
220
|
-
|
221
|
-
<pre class="prettyprint linenums">
|
222
|
-
placeholder: {
|
223
|
-
id: "-1",
|
224
|
-
text: "Select a repository"
|
225
|
-
}
|
226
|
-
</pre>
|
227
|
-
|
228
|
-
<div class="alert alert-info">
|
229
|
-
You should <strong>pass in an object</strong> when you are using a
|
230
|
-
framework that <strong>creates its own placeholder option</strong>. The
|
231
|
-
<strong>id</strong> should be the same as the <code>value</code>
|
232
|
-
attribute on the <code>option</code>.
|
233
|
-
</div>
|
234
|
-
|
235
|
-
<p id="allowClear">
|
236
|
-
You can allow a selected option to be cleared back to the placeholder by
|
237
|
-
enabling the <code>allowClear</code> option.
|
238
|
-
</p>
|
239
|
-
|
240
|
-
<div class="row">
|
241
|
-
<div class="col-sm-6">
|
242
|
-
<dl class="dl-horizontal">
|
243
|
-
<dt>Key</dt>
|
244
|
-
<dd><code>allowClear</code></dd>
|
245
|
-
|
246
|
-
<dt>Value</dt>
|
247
|
-
<dd>boolean</dd>
|
248
|
-
</dl>
|
249
|
-
</div>
|
250
|
-
|
251
|
-
<div class="col-sm-6">
|
252
|
-
<dl class="dl-horizontal">
|
253
|
-
<dt>Adapter</dt>
|
254
|
-
<dd>
|
255
|
-
<code title="select2/selection/base">SelectionAdapter</code>
|
256
|
-
</dd>
|
257
|
-
|
258
|
-
<dt>Decorator</dt>
|
259
|
-
<dd>
|
260
|
-
<code title="select2/selection/allowClear">AllowClear</code>
|
261
|
-
</dd>
|
262
|
-
</dl>
|
263
|
-
</div>
|
264
|
-
</div>
|
265
|
-
|
266
|
-
<p>
|
267
|
-
This will display an "x" that the user can click to clear the current
|
268
|
-
selection. It is designed to be used for cases where a single selection
|
269
|
-
can be made.
|
270
|
-
</p>
|
271
|
-
|
272
|
-
<h3 id="multiple">
|
273
|
-
Multiple selections
|
274
|
-
</h3>
|
275
|
-
|
276
|
-
<p>
|
277
|
-
Select2 can display either a single selection or multiple selections.
|
278
|
-
</p>
|
279
|
-
|
280
|
-
<dl class="dl-horizontal">
|
281
|
-
<dt>Key</dt>
|
282
|
-
<dd><code>multiple</code></dd>
|
283
|
-
|
284
|
-
<dt>Value</dt>
|
285
|
-
<dd>boolean (<code>true</code> or <code>false</code>)</dd>
|
286
|
-
</dl>
|
287
|
-
|
288
|
-
<p>
|
289
|
-
This option will determine what the <code>SelectAdapter</code> (used by
|
290
|
-
default) should use to set the value of the underlying <code>select</code>
|
291
|
-
element. It will also determine if the <code>MultipleSelection</code>
|
292
|
-
adapter should be used.
|
293
|
-
</p>
|
294
|
-
|
295
|
-
<h3 id="width">
|
296
|
-
Container width
|
297
|
-
</h3>
|
298
|
-
|
299
|
-
<p>
|
300
|
-
Select2 will try to match the width of the original element as closely as
|
301
|
-
possible. Sometimes this isn't perfect, which is what you can tell Select2
|
302
|
-
how to determine the width.
|
303
|
-
</p>
|
304
|
-
|
305
|
-
<div class="row">
|
306
|
-
<div class="col-sm-6">
|
307
|
-
<table class="table table-striped table-bordered">
|
308
|
-
<thead>
|
309
|
-
<tr>
|
310
|
-
<th>Value</th>
|
311
|
-
<th>Description</th>
|
312
|
-
</tr>
|
313
|
-
</thead>
|
314
|
-
<tbody>
|
315
|
-
<tr>
|
316
|
-
<td><code>"element"</code></td>
|
317
|
-
<td>
|
318
|
-
Uses javascript to calculate the width of the source element.
|
319
|
-
</td>
|
320
|
-
</tr>
|
321
|
-
<tr>
|
322
|
-
<td><code>"style"</code></td>
|
323
|
-
<td>
|
324
|
-
Copies the value of the width <code>style</code> attribute set on the source element.
|
325
|
-
</td>
|
326
|
-
</tr>
|
327
|
-
<tr>
|
328
|
-
<td><code>"resolve"</code></td>
|
329
|
-
<td>
|
330
|
-
Tries to use <code>style</code> to determine the width, falling back to <code>element</code>.
|
331
|
-
</td>
|
332
|
-
</tr>
|
333
|
-
<tr>
|
334
|
-
<td>Anything else</td>
|
335
|
-
<td>
|
336
|
-
The value of the <code>width</code> option is directly set as the width of the container.
|
337
|
-
</td>
|
338
|
-
</tr>
|
339
|
-
</tbody>
|
340
|
-
</table>
|
341
|
-
</div>
|
342
|
-
<div class="col-sm-6">
|
343
|
-
<dl class="dl-horizontal">
|
344
|
-
<dt>Key</dt>
|
345
|
-
<dd><code>width</code></dd>
|
346
|
-
|
347
|
-
<dt>Value</dt>
|
348
|
-
<dd>string</dd>
|
349
|
-
</dl>
|
350
|
-
</div>
|
351
|
-
</div>
|
352
|
-
|
353
|
-
<h3 id="language">
|
354
|
-
Internationalization (Language support)
|
355
|
-
</h3>
|
356
|
-
|
357
|
-
<p>
|
358
|
-
Messages will be displayed to users when necessary, such as when no
|
359
|
-
search results were found or more characters need to be entered in order
|
360
|
-
for a search to be made. These messages have been
|
361
|
-
<a href="community.html#translations">translated into many languages</a>
|
362
|
-
by contributors to Select2, but you can also provide your own
|
363
|
-
translations.
|
364
|
-
</p>
|
365
|
-
|
366
|
-
<div class="row">
|
367
|
-
<div class="col-sm-6">
|
368
|
-
<dl class="dl-horizontal">
|
369
|
-
<dt>Key</dt>
|
370
|
-
<dd><code>language</code></dd>
|
371
|
-
|
372
|
-
<dt>Value</dt>
|
373
|
-
<dd>object or string</dd>
|
374
|
-
</dl>
|
375
|
-
|
376
|
-
<hr />
|
377
|
-
|
378
|
-
<dl class="dl-horizontal">
|
379
|
-
<dt>Module</dt>
|
380
|
-
<dd>
|
381
|
-
<code title="select2/translation">Translation</code>
|
382
|
-
</dd>
|
383
|
-
</dl>
|
384
|
-
</div>
|
385
|
-
|
386
|
-
<div class="col-sm-6">
|
387
|
-
<p class="alert alert-warning">
|
388
|
-
<strong>Heads up!</strong> When using translations provided by Select2,
|
389
|
-
you must make sure to include the translation file in your page after
|
390
|
-
Select2.
|
391
|
-
</p>
|
392
|
-
</div>
|
393
|
-
</div>
|
394
|
-
|
395
|
-
<p>
|
396
|
-
When a string is passed in as the language, Select2 will try to resolve
|
397
|
-
it into a language file. This allows you to specify your own language
|
398
|
-
files, which must be defined as an AMD module. If the language file
|
399
|
-
cannot be found, Select2 will assume it is a language code controlled by
|
400
|
-
Select2, and it will try to load the translations for that language
|
401
|
-
instead.
|
402
|
-
</p>
|
403
|
-
|
404
|
-
<p>
|
405
|
-
You can include your own translations by providing an object similar to
|
406
|
-
the one below.
|
407
|
-
</p>
|
408
|
-
|
409
|
-
<pre class="prettyprint linenums">
|
410
|
-
language: {
|
411
|
-
// You can find all of the options in the language files provided in the
|
412
|
-
// build. They all must be functions that return the string that should be
|
413
|
-
// displayed.
|
414
|
-
inputTooShort: function () {
|
415
|
-
return "You must enter more characters...";
|
416
|
-
}
|
417
|
-
}
|
418
|
-
</pre>
|
419
|
-
|
420
|
-
<h3 id="templating">
|
421
|
-
Templating results and selections
|
422
|
-
</h3>
|
423
|
-
|
424
|
-
<p>
|
425
|
-
By default, Select2 will display the option text within the list of
|
426
|
-
results and when the option has been selected. Select2 comes with options
|
427
|
-
that allow you to further customize the display of results and selections,
|
428
|
-
allowing you to display them however you want.
|
429
|
-
</p>
|
430
|
-
|
431
|
-
<h4 id="templateSelection">
|
432
|
-
Customizing the display of selections
|
433
|
-
</h4>
|
434
|
-
|
435
|
-
<p>
|
436
|
-
When an option is displayed after it has been selected, it is passed
|
437
|
-
through a formatting function that determines what is displayed. By
|
438
|
-
default, the function only returns the <code>text</code> key of the data
|
439
|
-
object.
|
440
|
-
</p>
|
441
|
-
|
442
|
-
<dl class="dl-horizontal">
|
443
|
-
<dt>Key</dt>
|
444
|
-
<dd><code>templateSelection</code></dd>
|
445
|
-
|
446
|
-
<dt>Value</dt>
|
447
|
-
<dd>A function taking a <code>selection</code> object</dd>
|
448
|
-
</dl>
|
449
|
-
|
450
|
-
<div class="alert alert-info">
|
451
|
-
<strong>Anything rendered as a selection is templated.</strong>
|
452
|
-
This includes placeholders and pre-existing selections that are displayed,
|
453
|
-
so you must ensure that your templating functions can support them.
|
454
|
-
</div>
|
455
|
-
|
456
|
-
<p>
|
457
|
-
The <code>templateSelection</code> function should return a string
|
458
|
-
containing the text to be displayed, or an object (such as a jQuery
|
459
|
-
object) that contains the data that should be displayed.
|
460
|
-
</p>
|
461
|
-
|
462
|
-
<p>
|
463
|
-
<strong>Strings are assumed to contain only text</strong> and will be
|
464
|
-
passed through the <code>escapeMarkup</code> function, which strips any
|
465
|
-
HTML markup.
|
466
|
-
</p>
|
467
|
-
|
468
|
-
<p>
|
469
|
-
<strong>
|
470
|
-
Anything else will be passed
|
471
|
-
<a href="https://api.jquery.com/append/">directly to <code>jQuery.fn.append</code></a>
|
472
|
-
</strong> and will be handled directly by jQuery. Any markup, such as
|
473
|
-
HTML, returned will not be escaped and it is up to you to escape any
|
474
|
-
malicious input provided by users.
|
475
|
-
</p>
|
476
|
-
|
477
|
-
<h4 id="templateResult">
|
478
|
-
Customizing the display of results
|
479
|
-
</h4>
|
480
|
-
|
481
|
-
<p>
|
482
|
-
When an option is displayed after it has been selected, it is passed
|
483
|
-
through a formatting function that determines what is displayed. By
|
484
|
-
default, the function only returns the <code>text</code> key of the data
|
485
|
-
object.
|
486
|
-
</p>
|
487
|
-
|
488
|
-
<dl class="dl-horizontal">
|
489
|
-
<dt>Key</dt>
|
490
|
-
<dd><code>templateResult</code></dd>
|
491
|
-
|
492
|
-
<dt>Value</dt>
|
493
|
-
<dd>A function taking a <code>result</code> object</dd>
|
494
|
-
</dl>
|
495
|
-
|
496
|
-
<div class="alert alert-info">
|
497
|
-
<strong>Anything rendered in the results is templated.</strong>
|
498
|
-
This includes results such as the "Searching..." and "Loading more..."
|
499
|
-
text which will periodically be displayed, which allows you to add more
|
500
|
-
advanced formatting to these automatically generated options.
|
501
|
-
</div>
|
502
|
-
|
503
|
-
<p>
|
504
|
-
The <code>templateResult</code> function should return a string
|
505
|
-
containing the text to be displayed, or an object (such as a jQuery
|
506
|
-
object) that contains the data that should be displayed. It can also
|
507
|
-
return <code>null</code>, which will prevent the option from being
|
508
|
-
displayed in the results list.
|
509
|
-
</p>
|
510
|
-
|
511
|
-
<p>
|
512
|
-
<strong>Strings are assumed to contain only text</strong> and will be
|
513
|
-
passed through the <code>escapeMarkup</code> function, which strips any
|
514
|
-
HTML markup.
|
515
|
-
</p>
|
516
|
-
|
517
|
-
<p>
|
518
|
-
<strong>
|
519
|
-
Anything else will be passed
|
520
|
-
<a href="https://api.jquery.com/append/">directly to <code>jQuery.fn.append</code></a>
|
521
|
-
</strong> and will be handled directly by jQuery. Any markup, such as
|
522
|
-
HTML, returned will not be escaped and it is up to you to escape any
|
523
|
-
malicious input provided by users.
|
524
|
-
</p>
|
525
|
-
|
526
|
-
<h2 id="core-options-results">
|
527
|
-
Returning and displaying results
|
528
|
-
</h2>
|
529
|
-
|
530
|
-
<p>
|
531
|
-
Select2 can work on many different data sets ranging from local options,
|
532
|
-
the same way that a <code><select></code> typically works, from
|
533
|
-
remote options where a server generates the results that users can select
|
534
|
-
from.
|
535
|
-
</p>
|
536
|
-
|
537
|
-
<h3 id="data">
|
538
|
-
Array
|
539
|
-
</h3>
|
540
|
-
|
541
|
-
<p>
|
542
|
-
Select2 allows creating the results based on an array of data objects that
|
543
|
-
is included when initializing Select2.
|
544
|
-
</p>
|
545
|
-
|
546
|
-
<div class="row">
|
547
|
-
<div class="col-sm-6">
|
548
|
-
<dl class="dl-horizontal">
|
549
|
-
<dt>Key</dt>
|
550
|
-
<dd><code>data</code></dd>
|
551
|
-
|
552
|
-
<dt>Value</dt>
|
553
|
-
<dd>array of objects</dd>
|
554
|
-
</dl>
|
555
|
-
</div>
|
556
|
-
|
557
|
-
<div class="col-sm-6">
|
558
|
-
<dl class="dl-horizontal">
|
559
|
-
<dt>Adapter</dt>
|
560
|
-
<dd>
|
561
|
-
<code title="select2/data/array">ArrayAdapter</code>
|
562
|
-
</dd>
|
563
|
-
</dl>
|
564
|
-
</div>
|
565
|
-
</div>
|
566
|
-
|
567
|
-
<p>
|
568
|
-
The objects that the users can select from should be passed as an array
|
569
|
-
with each object containing <code>id</code> and <code>text</code>
|
570
|
-
properties.
|
571
|
-
</p>
|
572
|
-
|
573
|
-
<h3 id="ajax">
|
574
|
-
AJAX
|
575
|
-
</h3>
|
576
|
-
|
577
|
-
<p>
|
578
|
-
Select2 allows searching for results from remote data sources using AJAX
|
579
|
-
requests.
|
580
|
-
</p>
|
581
|
-
|
582
|
-
<div class="row">
|
583
|
-
<div class="col-sm-6">
|
584
|
-
<dl class="dl-horizontal">
|
585
|
-
<dt>Key</dt>
|
586
|
-
<dd><code>ajax</code></dd>
|
587
|
-
|
588
|
-
<dt>Value</dt>
|
589
|
-
<dd>object</dd>
|
590
|
-
</dl>
|
591
|
-
</div>
|
592
|
-
|
593
|
-
<div class="col-sm-6">
|
594
|
-
<dl class="dl-horizontal">
|
595
|
-
<dt>Adapter</dt>
|
596
|
-
<dd>
|
597
|
-
<code title="select2/data/ajax">AjaxAdapter</code>
|
598
|
-
</dd>
|
599
|
-
</dl>
|
600
|
-
</div>
|
601
|
-
</div>
|
602
|
-
|
603
|
-
<p>
|
604
|
-
All options passed to this option will be directly passed to the
|
605
|
-
<code>$.ajax</code> function that executes AJAX requests. There are a few
|
606
|
-
custom options that Select2 will intercept, allowing you to customize the
|
607
|
-
request as it is being made.
|
608
|
-
|
609
|
-
<pre class="prettyprint linenums">
|
610
|
-
ajax: {
|
611
|
-
// The number of milliseconds to wait for the user to stop typing before
|
612
|
-
// issuing the ajax request.
|
613
|
-
delay: 250,
|
614
|
-
// You can craft a custom url based on the parameters that are passed into the
|
615
|
-
// request. This is useful if you are using a framework which has
|
616
|
-
// JavaScript-based functions for generating the urls to make requests to.
|
617
|
-
//
|
618
|
-
// @param params The object containing the parameters used to generate the
|
619
|
-
// request.
|
620
|
-
// @returns The url that the request should be made to.
|
621
|
-
url: function (params) {
|
622
|
-
return UrlGenerator.Random();
|
623
|
-
},
|
624
|
-
// You can pass custom data into the request based on the parameters used to
|
625
|
-
// make the request. For `GET` requests, the default method, these are the
|
626
|
-
// query parameters that are appended to the url. For `POST` requests, this
|
627
|
-
// is the form data that will be passed into the request. For other requests,
|
628
|
-
// the data returned from here should be customized based on what jQuery and
|
629
|
-
// your server are expecting.
|
630
|
-
//
|
631
|
-
// @param params The object containing the parameters used to generate the
|
632
|
-
// request.
|
633
|
-
// @returns Data to be directly passed into the request.
|
634
|
-
data: function (params) {
|
635
|
-
var queryParameters = {
|
636
|
-
q: params.term
|
637
|
-
}
|
638
|
-
|
639
|
-
return queryParameters;
|
640
|
-
},
|
641
|
-
// You can modify the results that are returned from the server, allowing you
|
642
|
-
// to make last-minute changes to the data, or find the correct part of the
|
643
|
-
// response to pass to Select2. Keep in mind that results should be passed as
|
644
|
-
// an array of objects.
|
645
|
-
//
|
646
|
-
// @param data The data as it is returned directly by jQuery.
|
647
|
-
// @returns An object containing the results data as well as any required
|
648
|
-
// metadata that is used by plugins. The object should contain an array of
|
649
|
-
// data objects as the `results` key.
|
650
|
-
processResults: function (data) {
|
651
|
-
return {
|
652
|
-
results: data
|
653
|
-
};
|
654
|
-
},
|
655
|
-
// You can use a custom AJAX transport function if you do not want to use the
|
656
|
-
// default one provided by jQuery.
|
657
|
-
//
|
658
|
-
// @param params The object containing the parameters used to generate the
|
659
|
-
// request.
|
660
|
-
// @param success A callback function that takes `data`, the results from the
|
661
|
-
// request.
|
662
|
-
// @param failure A callback function that indicates that the request could
|
663
|
-
// not be completed.
|
664
|
-
// @returns An object that has an `abort` function that can be called to abort
|
665
|
-
// the request if needed.
|
666
|
-
transport: function (params, success, failure) {
|
667
|
-
var $request = $.ajax(params);
|
668
|
-
|
669
|
-
$request.then(success);
|
670
|
-
$request.fail(failure);
|
671
|
-
|
672
|
-
return $request;
|
673
|
-
}
|
674
|
-
}
|
675
|
-
</pre>
|
676
|
-
</p>
|
677
|
-
|
678
|
-
<h3 id="tags">
|
679
|
-
Tags
|
680
|
-
</h3>
|
681
|
-
|
682
|
-
<p>
|
683
|
-
Users can create their own options based on the text that they have
|
684
|
-
entered.
|
685
|
-
</p>
|
686
|
-
|
687
|
-
<div class="row">
|
688
|
-
<div class="col-sm-6">
|
689
|
-
<dl class="dl-horizontal">
|
690
|
-
<dt>Key</dt>
|
691
|
-
<dd><code>tags</code></dd>
|
692
|
-
|
693
|
-
<dt>Value</dt>
|
694
|
-
<dd>boolean / array of objects</dd>
|
695
|
-
</dl>
|
696
|
-
</div>
|
697
|
-
|
698
|
-
<div class="col-sm-6">
|
699
|
-
<dl class="dl-horizontal">
|
700
|
-
<dt>Adapter</dt>
|
701
|
-
<dd>
|
702
|
-
<code title="select2/data/base">DataAdapter</code>
|
703
|
-
</dd>
|
704
|
-
|
705
|
-
<dt>Decorator</dt>
|
706
|
-
<dd>
|
707
|
-
<code title="select2/data/tags">Tags</code>
|
708
|
-
</dd>
|
709
|
-
</dl>
|
710
|
-
</div>
|
711
|
-
</div>
|
712
|
-
|
713
|
-
<p>
|
714
|
-
If the <code>tags</code> option is passed into Select2, if a user types
|
715
|
-
anything into the search box which doesn't already exist, it will be
|
716
|
-
displayed at the top and the user will be able to select it.
|
717
|
-
</p>
|
718
|
-
|
719
|
-
<p>
|
720
|
-
<strong>For backwards compatibility</strong>, if an array of objects is
|
721
|
-
passed in with the <code>tags</code> option, the options will be
|
722
|
-
automatically created and the user will be able to select from them.
|
723
|
-
This is the <strong>same as how <a href="#data">array data</a>
|
724
|
-
works</strong>, and has similar limitations.
|
725
|
-
</p>
|
726
|
-
|
727
|
-
<h3 id="matcher">
|
728
|
-
Change how options are matched when searching
|
729
|
-
</h3>
|
730
|
-
|
731
|
-
<p>
|
732
|
-
When users filter down the results by entering search terms into the
|
733
|
-
search box, Select2 uses an internal "matcher" to match search terms to
|
734
|
-
results. <strong>When a remote data set is used, Select2 expects that the
|
735
|
-
returned results have already been filtered.</strong>
|
736
|
-
</p>
|
737
|
-
|
738
|
-
<dl class="dl-horizontal">
|
739
|
-
<dt>Key</dt>
|
740
|
-
<dd>
|
741
|
-
<code>matcher</code>
|
742
|
-
</dd>
|
743
|
-
|
744
|
-
<dt>Value</dt>
|
745
|
-
<dd>
|
746
|
-
A function taking search <code>params</code> and the
|
747
|
-
<code>data</code> object.
|
748
|
-
</dd>
|
749
|
-
</dl>
|
750
|
-
|
751
|
-
<p>
|
752
|
-
Select2 will pass the individual data objects that have been passed back
|
753
|
-
from the data adapter into the <code>matcher</code> individually to
|
754
|
-
determine if they should be displayed. Only the first-level objects will
|
755
|
-
be passed in, so <strong>if you are working with nested data, you need to
|
756
|
-
match those individually</strong>.
|
757
|
-
</p>
|
758
|
-
|
759
|
-
<pre class="prettyprint linenums">
|
760
|
-
matcher: function (params, data) {
|
761
|
-
// If there are no search terms, return all of the data
|
762
|
-
if ($.trim(params.term) === '') {
|
763
|
-
return data;
|
764
|
-
}
|
765
|
-
|
766
|
-
// `params.term` should be the term that is used for searching
|
767
|
-
// `data.text` is the text that is displayed for the data object
|
768
|
-
if (data.text.indexOf(params.term) > -1) {
|
769
|
-
var modifiedData = $.extend({}, data, true);
|
770
|
-
modifiedData.text += ' (matched)';
|
771
|
-
|
772
|
-
// You can return modified objects from here
|
773
|
-
// This includes matching the `children` how you want in nested data sets
|
774
|
-
return modifiedData;
|
775
|
-
}
|
776
|
-
|
777
|
-
// Return `null` if the term should not be displayed
|
778
|
-
return null;
|
779
|
-
}
|
780
|
-
</pre>
|
781
|
-
|
782
|
-
<p>
|
783
|
-
This allows for more advanced matching when working with nested objects,
|
784
|
-
allowing you to handle them however you want. For those who are not
|
785
|
-
looking to implement highly customized matching, but instead are just
|
786
|
-
looking to change the matching algorithm for the text, a
|
787
|
-
<a href="#compat-matcher">compatibility modules</a> has been created to
|
788
|
-
make it easier.
|
789
|
-
</p>
|
790
|
-
</section>
|