1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- (function (root, factory) {
- if (typeof define === 'function' && define.amd) {
-
- define(["jquery"], function (a0) {
- return (factory(a0));
- });
- } else if (typeof exports === 'object') {
-
-
-
- module.exports = factory(require("jquery"));
- } else {
- factory(jQuery);
- }
- }(this, function (jQuery) {
- (function ($) {
- $.fn.selectpicker.defaults = {
- noneSelectedText: 'Nothing selected',
- noneResultsText: 'No results match {0}',
- countSelectedText: function (numSelected, numTotal) {
- return (numSelected == 1) ? "{0} item selected" : "{0} items selected";
- },
- maxOptionsText: function (numAll, numGroup) {
- return [
- (numAll == 1) ? 'Limit reached ({n} item max)' : 'Limit reached ({n} items max)',
- (numGroup == 1) ? 'Group limit reached ({n} item max)' : 'Group limit reached ({n} items max)'
- ];
- },
- selectAllText: 'Select All',
- deselectAllText: 'Deselect All',
- multipleSeparator: ', '
- };
- })(jQuery);
- }));
|