Skip to content

Commit

Permalink
Fixes yiisoft#5061: Switched to use jquery composer package.
Browse files Browse the repository at this point in the history
  • Loading branch information
qiangxue committed Sep 17, 2014
1 parent db26e65 commit ecdb41e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions framework/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion framework/web/JqueryAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
class JqueryAsset extends AssetBundle
{
public $sourcePath = '@bower/jquery';
public $sourcePath = '@vendor/yiisoft/jquery';
public $js = [
'dist/jquery.js',
];
Expand Down

0 comments on commit ecdb41e

Please sign in to comment.