Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
695123a1d2
2 değiştirilmiş dosya ile 1 ekleme ve 5 silme
  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": {