Commit ecdb41e0 by Qiang Xue

Fixes #5061: Switched to use jquery composer package.

parent db26e65c
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
"ext-mbstring": "*", "ext-mbstring": "*",
"lib-pcre": "*", "lib-pcre": "*",
"yiisoft/yii2-composer": "*", "yiisoft/yii2-composer": "*",
"yiisoft/jquery": "~2.0 | ~1.10",
"ezyang/htmlpurifier": "4.6.*", "ezyang/htmlpurifier": "4.6.*",
"cebe/markdown": "0.9.*", "cebe/markdown": "0.9.*",
"bower-asset/jquery": ">=1.8", "bower-asset/jquery": ">=1.8",
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
"ext-mbstring": "*", "ext-mbstring": "*",
"lib-pcre": "*", "lib-pcre": "*",
"yiisoft/yii2-composer": "*", "yiisoft/yii2-composer": "*",
"yiisoft/jquery": "~2.0 | ~1.10",
"ezyang/htmlpurifier": "4.6.*", "ezyang/htmlpurifier": "4.6.*",
"cebe/markdown": "0.9.*", "cebe/markdown": "0.9.*",
"bower-asset/jquery": ">=1.8", "bower-asset/jquery": ">=1.8",
......
...@@ -15,7 +15,7 @@ namespace yii\web; ...@@ -15,7 +15,7 @@ namespace yii\web;
*/ */
class JqueryAsset extends AssetBundle class JqueryAsset extends AssetBundle
{ {
public $sourcePath = '@bower/jquery'; public $sourcePath = '@vendor/yiisoft/jquery';
public $js = [ public $js = [
'dist/jquery.js', 'dist/jquery.js',
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment