Skip to content

Commit 3bf15a1

Browse files
committed
Merge pull request #342 from alietz/doc-asset-helper-rev
[ci skip] Correct docs for asset helpers
1 parent cac9844 commit 3bf15a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,24 +68,24 @@ in Sass):
6868
#### `asset-path($relative-asset-path)`
6969
Returns a string to the asset.
7070

71-
* `asset-path("rails.png")` becomes `"/assets/rails.png"`
71+
* `asset-path("rails.png")` returns `"/assets/rails.png"`
7272

7373
#### `asset-url($relative-asset-path)`
7474
Returns a url reference to the asset.
7575

76-
* `asset-url("rails.png")` becomes `url(/assets/rails.png)`
76+
* `asset-url("rails.png")` returns `url(/assets/rails.png)`
7777

7878
As a convenience, for each of the following asset classes there are
7979
corresponding `-path` and `-url` helpers:
8080
image, font, video, audio, javascript, stylesheet.
8181

82-
* `image-path("rails.png")` becomes `"/assets/rails.png"`
83-
* `image-url("rails.png")` becomes `url(/assets/rails.png)`
82+
* `image-path("rails.png")` returns `"/assets/rails.png"`
83+
* `image-url("rails.png")` returns `url(/assets/rails.png)`
8484

8585
#### `asset-data-url($relative-asset-path)`
8686
Returns a url reference to the Base64-encoded asset at the specified path.
8787

88-
* `asset-data-url("rails.png")` becomes `url(data:image/png;base64,iVBORw0K...)`
88+
* `asset-data-url("rails.png")` returns `url(data:image/png;base64,iVBORw0K...)`
8989

9090
## Running Tests
9191

0 commit comments

Comments
 (0)