Fixes #5061: Switched to use jquery composer package.

This commit is contained in:
Qiang Xue
2014-09-17 09:59:44 -04:00
parent db26e65c62
commit ecdb41e046
3 changed files with 3 additions and 1 deletions

View File

@@ -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",

View File

@@ -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",

View File

@@ -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',
];