Parcourir la 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 il y a 10 ans
Parent
commit
695123a1d2
2 fichiers modifiés avec 1 ajouts et 5 suppressions
  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": {