export classes, issue #13
This commit is contained in:
parent
b0b70243b6
commit
bf25e5e7e4
20
select2.js
20
select2.js
@ -267,12 +267,6 @@
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// exports
|
|
||||||
window.Select2 = {query: {}, util: {}};
|
|
||||||
window.Select2.util.debounce = debounce;
|
|
||||||
window.Select2.query.ajax = ajax;
|
|
||||||
window.Select2.query.local = local;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* blurs any Select2 container that has focus when an element outside them was clicked or received focus
|
* blurs any Select2 container that has focus when an element outside them was clicked or received focus
|
||||||
*/
|
*/
|
||||||
@ -1247,4 +1241,18 @@
|
|||||||
return (value === undefined) ? this : value;
|
return (value === undefined) ? this : value;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// exports
|
||||||
|
window.Select2 = {
|
||||||
|
query: {
|
||||||
|
ajax: ajax,
|
||||||
|
local: local
|
||||||
|
}, util: {
|
||||||
|
debounce: debounce
|
||||||
|
}, "class": {
|
||||||
|
abstract: AbstractSelect2,
|
||||||
|
single: SingleSelect2,
|
||||||
|
multi: MultiSelect2
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
}(jQuery));
|
}(jQuery));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user