Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
d7185916
Commit
d7185916
authored
Sep 26, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5189 from robregonm/patch-2
[skip ci] Fix minor typo in assets docs
parents
3d6d2e8c
41c2b91c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
structure-assets.md
docs/guide/structure-assets.md
+2
-1
No files found.
docs/guide/structure-assets.md
View file @
d7185916
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment