mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-25 11:10:36 +08:00
Fixes #5061: Switched to use jquery composer package.
This commit is contained in:
@@ -76,6 +76,7 @@
|
||||
"ext-mbstring": "*",
|
||||
"lib-pcre": "*",
|
||||
"yiisoft/yii2-composer": "*",
|
||||
"yiisoft/jquery": "~2.0 | ~1.10",
|
||||
"ezyang/htmlpurifier": "4.6.*",
|
||||
"cebe/markdown": "0.9.*",
|
||||
"bower-asset/jquery": ">=1.8",
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
"ext-mbstring": "*",
|
||||
"lib-pcre": "*",
|
||||
"yiisoft/yii2-composer": "*",
|
||||
"yiisoft/jquery": "~2.0 | ~1.10",
|
||||
"ezyang/htmlpurifier": "4.6.*",
|
||||
"cebe/markdown": "0.9.*",
|
||||
"bower-asset/jquery": ">=1.8",
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace yii\web;
|
||||
*/
|
||||
class JqueryAsset extends AssetBundle
|
||||
{
|
||||
public $sourcePath = '@bower/jquery';
|
||||
public $sourcePath = '@vendor/yiisoft/jquery';
|
||||
public $js = [
|
||||
'dist/jquery.js',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user