Skip to content

Commit

Permalink
Add ; before beginning of factory wrapper (#5089)
Browse files Browse the repository at this point in the history
Adding ending statement at the start of the code as absence of that causes console error while concatenating files.
  • Loading branch information
alexweissman committed Oct 26, 2017
1 parent 09688ff commit 18929d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,7 @@
## 4.0.6

### Bug fixes
- Add `;` before beginning of factory wrapper (#5089)
- Clear tooltip from `select2-selection__rendered` when selection is cleared (#4746)
- Fix keyboard not closing when closing dropdown on iOS 10 (#4680)
- User-defined types not normalized properly when passed in as data (#4632)
Expand Down
2 changes: 1 addition & 1 deletion src/js/wrapper.start.js
Expand Up @@ -5,7 +5,7 @@
* Released under the MIT license
* https://github.com/select2/select2/blob/master/LICENSE.md
*/
(function (factory) {
;(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
Expand Down

0 comments on commit 18929d6

Please sign in to comment.