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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
ec911c19
Commit
ec911c19
authored
Nov 19, 2014
by
Christopher Vrooman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update structure-assets.md
parent
c7428b0b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
structure-assets.md
docs/guide/structure-assets.md
+2
-2
No files found.
docs/guide/structure-assets.md
View file @
ec911c19
...
...
@@ -122,7 +122,7 @@ property when defining asset bundle classes for them.
### Asset Dependencies <a name="asset-dependencies"></a>
When you include multiple CSS or JavaScript files in a Web page, they
may
have to follow a certain order to avoid
When you include multiple CSS or JavaScript files in a Web page, they have to follow a certain order to avoid
overriding issues. For example, if you are using a jQuery UI widget in a Web page, you have to make sure
the jQuery JavaScript file is included before the jQuery UI JavaScript file. We call such ordering the dependencies
among assets.
...
...
@@ -337,7 +337,7 @@ If any of the keys are found to be the last part of an asset file (which is pref
if available), the corresponding value will replace the asset and be registered with the view.
For example, the asset file
`my/path/to/jquery.js`
matches the key
`jquery.js`
.
> Note: Only assets specified using relative paths are subject to asset mapping.
Also, t
he target asset paths
> Note: Only assets specified using relative paths are subject to asset mapping.
T
he target asset paths
should be either absolute URLs or paths relative to
[
[yii\web\AssetManager::basePath
]
].
...
...
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