Commit d7185916 by Alexander Makarov

Merge pull request #5189 from robregonm/patch-2

[skip ci] Fix minor typo in assets docs
parents 3d6d2e8c 41c2b91c
...@@ -240,7 +240,8 @@ be the corresponding [configuration arrays](concept-configurations.md). ...@@ -240,7 +240,8 @@ be the corresponding [configuration arrays](concept-configurations.md).
> Tip: You can conditionally choose which assets to use in an asset bundle. The following example shows how > Tip: You can conditionally choose which assets to use in an asset bundle. The following example shows how
> to use `jquery.js` in the development environment and `jquery.min.js` otherwise: > to use `jquery.js` in the development environment and `jquery.min.js` otherwise:
> >
> ```php
```php
'yii\web\JqueryAsset' => [ 'yii\web\JqueryAsset' => [
'js' => [ 'js' => [
YII_ENV_DEV ? 'jquery.js' : 'jquery.min.js' YII_ENV_DEV ? 'jquery.js' : 'jquery.min.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