1
0
mirror of synced 2025-02-10 17:19:23 +03:00

Compile dist

This commit is contained in:
Kevin Brown 2015-08-21 14:52:01 -04:00
parent 66ae2ad1d5
commit 8722ae2c81
5 changed files with 82 additions and 42 deletions

2
dist/js/i18n/nl.js vendored
View File

@ -1,3 +1,3 @@
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */ /*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
(function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/nl",[],function(){return{errorLoading:function(){return"De resultaten konden niet worden geladen."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Gelieve "+t+" karakters te verwijderen";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Gelieve "+t+" of meer karakters in te voeren";return n},loadingMore:function(){return"Meer resultaten laden…"},maximumSelected:function(e){var t="Er kunnen maar "+e.maximum+" item";return e.maximum!=1&&(t+="s"),t+=" worden geselecteerd",t},noResults:function(){return"Geen resultaten gevonden…"},searching:function(){return"Zoeken…"}}}),{define:e.define,require:e.require}})(); (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/nl",[],function(){return{errorLoading:function(){return"De resultaten konden niet worden geladen."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Gelieve "+t+" karakters te verwijderen";return n},inputTooShort:function(e){var t=e.minimum-e.input.length,n="Gelieve "+t+" of meer karakters in te voeren";return n},loadingMore:function(){return"Meer resultaten laden…"},maximumSelected:function(e){var t=e.maximum==1?"kan":"kunnen",n="Er "+t+" maar "+e.maximum+" item";return e.maximum!=1&&(n+="s"),n+=" worden geselecteerd",n},noResults:function(){return"Geen resultaten gevonden…"},searching:function(){return"Zoeken…"}}}),{define:e.define,require:e.require}})();

View File

@ -1870,12 +1870,33 @@ S2.define('select2/selection/search',[
// Workaround for browsers which do not support the `input` event // Workaround for browsers which do not support the `input` event
// This will prevent double-triggering of events for browsers which support // This will prevent double-triggering of events for browsers which support
// both the `keyup` and `input` events. // both the `keyup` and `input` events.
this.$selection.on('input', '.select2-search--inline', function (evt) { this.$selection.on(
'input.searchcheck',
'.select2-search--inline',
function (evt) {
// Try to detect the IE version should the `documentMode` property that
// is stored on the document. This is only implemented in IE and is
// slightly cleaner than doing a user agent check.
// This property is not available in Edge, but Edge also doesn't have
// this bug.
var msie = document.documentMode;
// IE will trigger the `input` event when a placeholder is used on a
// search box. To get around this issue, we are forced to ignore all
// `input` events in IE and keep using `keyup`.
if (msie && msie <= 11) {
self.$selection.off('input.search input.searchcheck');
return;
}
// Unbind the duplicated `keyup` event // Unbind the duplicated `keyup` event
self.$selection.off('keyup.search'); self.$selection.off('keyup.search');
}); }
);
this.$selection.on('keyup.search input', '.select2-search--inline', this.$selection.on(
'keyup.search input.search',
'.select2-search--inline',
function (evt) { function (evt) {
var key = evt.which; var key = evt.which;
@ -1890,7 +1911,8 @@ S2.define('select2/selection/search',[
} }
self.handleSearch(evt); self.handleSearch(evt);
}); }
);
}; };
/** /**
@ -5249,8 +5271,6 @@ S2.define('select2/core',[
} }
this.trigger('query', {}); this.trigger('query', {});
this.trigger('open');
}; };
Select2.prototype.close = function () { Select2.prototype.close = function () {

File diff suppressed because one or more lines are too long

32
dist/js/select2.js vendored
View File

@ -1870,12 +1870,33 @@ S2.define('select2/selection/search',[
// Workaround for browsers which do not support the `input` event // Workaround for browsers which do not support the `input` event
// This will prevent double-triggering of events for browsers which support // This will prevent double-triggering of events for browsers which support
// both the `keyup` and `input` events. // both the `keyup` and `input` events.
this.$selection.on('input', '.select2-search--inline', function (evt) { this.$selection.on(
'input.searchcheck',
'.select2-search--inline',
function (evt) {
// Try to detect the IE version should the `documentMode` property that
// is stored on the document. This is only implemented in IE and is
// slightly cleaner than doing a user agent check.
// This property is not available in Edge, but Edge also doesn't have
// this bug.
var msie = document.documentMode;
// IE will trigger the `input` event when a placeholder is used on a
// search box. To get around this issue, we are forced to ignore all
// `input` events in IE and keep using `keyup`.
if (msie && msie <= 11) {
self.$selection.off('input.search input.searchcheck');
return;
}
// Unbind the duplicated `keyup` event // Unbind the duplicated `keyup` event
self.$selection.off('keyup.search'); self.$selection.off('keyup.search');
}); }
);
this.$selection.on('keyup.search input', '.select2-search--inline', this.$selection.on(
'keyup.search input.search',
'.select2-search--inline',
function (evt) { function (evt) {
var key = evt.which; var key = evt.which;
@ -1890,7 +1911,8 @@ S2.define('select2/selection/search',[
} }
self.handleSearch(evt); self.handleSearch(evt);
}); }
);
}; };
/** /**
@ -5249,8 +5271,6 @@ S2.define('select2/core',[
} }
this.trigger('query', {}); this.trigger('query', {});
this.trigger('open');
}; };
Select2.prototype.close = function () { Select2.prototype.close = function () {

File diff suppressed because one or more lines are too long