소스 검색

Fix TypeError

This closes https://github.com/select2/select2/issues/3160.
Kevin Brown 10 년 전
부모
커밋
1f62eb67e8
5개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      dist/js/select2.full.js
  2. 0 0
      dist/js/select2.full.min.js
  3. 1 1
      dist/js/select2.js
  4. 0 0
      dist/js/select2.min.js
  5. 1 1
      src/js/wrapper.end.js

+ 1 - 1
dist/js/select2.full.js

@@ -5832,7 +5832,7 @@ S2.define('jquery.select2',[
   // Hold the AMD module references on the jQuery function that was just loaded
   // This allows Select2 to use the internal loader outside of this file, such
   // as in the language files.
-  $.fn.select2.amd = S2;
+  jQuery.fn.select2.amd = S2;
 
   // Return the Select2 instance for anyone who is importing it.
   return select2;

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/select2.full.min.js


+ 1 - 1
dist/js/select2.js

@@ -5272,7 +5272,7 @@ S2.define('jquery.select2',[
   // Hold the AMD module references on the jQuery function that was just loaded
   // This allows Select2 to use the internal loader outside of this file, such
   // as in the language files.
-  $.fn.select2.amd = S2;
+  jQuery.fn.select2.amd = S2;
 
   // Return the Select2 instance for anyone who is importing it.
   return select2;

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/js/select2.min.js


+ 1 - 1
src/js/wrapper.end.js

@@ -5,7 +5,7 @@
   // Hold the AMD module references on the jQuery function that was just loaded
   // This allows Select2 to use the internal loader outside of this file, such
   // as in the language files.
-  $.fn.select2.amd = S2;
+  jQuery.fn.select2.amd = S2;
 
   // Return the Select2 instance for anyone who is importing it.
   return select2;

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.