Browse Source

Remove jQuery from the bower and component files

Users are expected to be using jQuery in their web applications
already, it's up to them to determine how it is loaded in.

This closes https://github.com/select2/select2/issues/2941.
Kevin Brown 10 năm trước cách đây
mục cha
commit
695123a1d2
2 tập tin đã thay đổi với 1 bổ sung5 xóa
  1. 0 3
      bower.json
  2. 1 2
      composer.json

+ 0 - 3
bower.json

@@ -8,8 +8,5 @@
     "repository": {
         "type": "git",
         "url": "[email protected]:select2/select2.git"
-    },
-    "dependencies": {
-        "jquery": ">= 1.7.1"
     }
 }

+ 1 - 2
composer.json

@@ -5,8 +5,7 @@
   "homepage": "https://select2.github.io/",
   "license": "MIT",
   "require": {
-    "robloach/component-installer": "*",
-    "components/jquery": ">=1.7.2"
+    "robloach/component-installer": "*"
   },
   "extra": {
     "component": {