1
0
mirror of synced 2024-11-25 06:16:08 +03:00

Add ; before beginning of factory wrapper (#5089)

Adding ending statement at the start of the code as absence of that causes console error while concatenating files.
This commit is contained in:
alexweissman 2017-10-25 23:17:05 -04:00
parent 09688ff6d2
commit 18929d6e5a
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
## 4.0.6 ## 4.0.6
### Bug fixes ### Bug fixes
- Add `;` before beginning of factory wrapper (#5089)
- Clear tooltip from `select2-selection__rendered` when selection is cleared (#4746) - Clear tooltip from `select2-selection__rendered` when selection is cleared (#4746)
- Fix keyboard not closing when closing dropdown on iOS 10 (#4680) - Fix keyboard not closing when closing dropdown on iOS 10 (#4680)
- User-defined types not normalized properly when passed in as data (#4632) - User-defined types not normalized properly when passed in as data (#4632)

View File

@ -5,7 +5,7 @@
* Released under the MIT license * Released under the MIT license
* https://github.com/select2/select2/blob/master/LICENSE.md * https://github.com/select2/select2/blob/master/LICENSE.md
*/ */
(function (factory) { ;(function (factory) {
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module. // AMD. Register as an anonymous module.
define(['jquery'], factory); define(['jquery'], factory);