Commit 372c5e1f by Qiang Xue

Moved jquery.js to external package.

parent b700f712
...@@ -66,6 +66,7 @@ ...@@ -66,6 +66,7 @@
"require": { "require": {
"php": ">=5.4.0", "php": ">=5.4.0",
"yiisoft/yii2-composer": "*", "yiisoft/yii2-composer": "*",
"yiisoft/jquery": "1.10.*",
"ext-mbstring": "*", "ext-mbstring": "*",
"lib-pcre": "*", "lib-pcre": "*",
"phpspec/php-diff": "dev-master", "phpspec/php-diff": "dev-master",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -15,7 +15,7 @@ namespace yii\web; ...@@ -15,7 +15,7 @@ namespace yii\web;
*/ */
class JqueryAsset extends AssetBundle class JqueryAsset extends AssetBundle
{ {
public $sourcePath = '@yii/assets'; public $sourcePath = '@vendor/yiisoft/jquery';
public $js = [ public $js = [
'jquery.js', '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