mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-25 19:20:29 +08:00
Fixes #5061: Switched to use jquery composer package.
This commit is contained in:
@@ -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 @@
|
|||||||
"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;
|
|||||||
*/
|
*/
|
||||||
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',
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user