Browse Source

Moved jquery.js to external package.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
372c5e1f1c
  1. 1
      framework/composer.json
  2. 9597
      framework/yii/assets/jquery.js
  3. 5
      framework/yii/assets/jquery.min.js
  4. 2
      framework/yii/web/JqueryAsset.php

1
framework/composer.json

@ -66,6 +66,7 @@
"require": {
"php": ">=5.4.0",
"yiisoft/yii2-composer": "*",
"yiisoft/jquery": "1.10.*",
"ext-mbstring": "*",
"lib-pcre": "*",
"phpspec/php-diff": "dev-master",

9597
framework/yii/assets/jquery.js vendored

File diff suppressed because it is too large Load Diff

5
framework/yii/assets/jquery.min.js vendored

File diff suppressed because one or more lines are too long

2
framework/yii/web/JqueryAsset.php

@ -15,7 +15,7 @@ namespace yii\web;
*/
class JqueryAsset extends AssetBundle
{
public $sourcePath = '@yii/assets';
public $sourcePath = '@vendor/yiisoft/jquery';
public $js = [
'jquery.js',
];

Loading…
Cancel
Save