Skip to content

Commit 1f62eb6

Browse files
committed
Fix TypeError
This closes select2#3160.
1 parent 9d359c9 commit 1f62eb6

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

dist/js/select2.full.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5832,7 +5832,7 @@ S2.define('jquery.select2',[
58325832
// Hold the AMD module references on the jQuery function that was just loaded
58335833
// This allows Select2 to use the internal loader outside of this file, such
58345834
// as in the language files.
5835-
$.fn.select2.amd = S2;
5835+
jQuery.fn.select2.amd = S2;
58365836

58375837
// Return the Select2 instance for anyone who is importing it.
58385838
return select2;

dist/js/select2.full.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5272,7 +5272,7 @@ S2.define('jquery.select2',[
52725272
// Hold the AMD module references on the jQuery function that was just loaded
52735273
// This allows Select2 to use the internal loader outside of this file, such
52745274
// as in the language files.
5275-
$.fn.select2.amd = S2;
5275+
jQuery.fn.select2.amd = S2;
52765276

52775277
// Return the Select2 instance for anyone who is importing it.
52785278
return select2;

dist/js/select2.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/wrapper.end.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Hold the AMD module references on the jQuery function that was just loaded
66
// This allows Select2 to use the internal loader outside of this file, such
77
// as in the language files.
8-
$.fn.select2.amd = S2;
8+
jQuery.fn.select2.amd = S2;
99

1010
// Return the Select2 instance for anyone who is importing it.
1111
return select2;

0 commit comments

Comments
 (0)