Sfoglia il codice sorgente

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 anni fa
parent
commit
695123a1d2
2 ha cambiato i file con 1 aggiunte e 5 eliminazioni
  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": {