浏览代码

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 年之前
父节点
当前提交
695123a1d2
共有 2 个文件被更改,包括 1 次插入5 次删除
  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": {