Skip to content

Commit

Permalink
- Added UDM code
Browse files Browse the repository at this point in the history
- Updated development dependencies
  • Loading branch information
istvan-ujjmeszaros committed Apr 6, 2018
1 parent 811be8c commit faecae1
Show file tree
Hide file tree
Showing 6 changed files with 933 additions and 466 deletions.
11 changes: 1 addition & 10 deletions dist/bootstrap-duallistbox.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 25 additions & 6 deletions dist/jquery.bootstrap-duallistbox.js
Expand Up @@ -6,7 +6,26 @@
* Made by István Ujj-Mészáros
* Under Apache License v2.0 License
*/
;(function ($, window, document, undefined) {
(function(factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
} else if (typeof module === 'object' && module.exports) {
module.exports = function(root, jQuery) {
if (jQuery === undefined) {
if (typeof window !== 'undefined') {
jQuery = require('jquery');
}
else {
jQuery = require('jquery')(root);
}
}
factory(jQuery);
return jQuery;
};
} else {
factory(jQuery);
}
}(function($) {
// Create the defaults once
var pluginName = 'bootstrapDualListbox',
defaults = {
Expand Down Expand Up @@ -35,10 +54,10 @@
eventRemoveOverride: false, // boolean, allows user to unbind default event behaviour and run their own instead
eventRemoveAllOverride: false, // boolean, allows user to unbind default event behaviour and run their own instead
btnClass: 'btn-outline-secondary', // sets the button style class for all the buttons
btnMoveText: 'Move >', // string, sets the text for the "Move" button
btnRemoveText: '< Remove', // string, sets the text for the "Remove" button
btnMoveAllText: 'Move all >>', // string, sets the text for the "Move All" button
btnRemoveAllText: '<< Remove all' // string, sets the text for the "Remove All" button
btnMoveText: '>', // string, sets the text for the "Move" button
btnRemoveText: '<', // string, sets the text for the "Remove" button
btnMoveAllText: '>>', // string, sets the text for the "Move All" button
btnRemoveAllText: '<<' // string, sets the text for the "Remove All" button
},
// Selections are invisible on android if the containing select is styled with CSS
// http://code.google.com/p/android/issues/detail?id=16922
Expand Down Expand Up @@ -835,4 +854,4 @@

};

})(jQuery, window, document);
}));

0 comments on commit faecae1

Please sign in to comment.