Skip to content

Commit

Permalink
fix: small error
Browse files Browse the repository at this point in the history
  • Loading branch information
0xflotus authored Dec 2, 2020
1 parent ec45542 commit e61bf23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ If [configured](#configuration) with a global `host` option, `imgix.js` can use
2. `ix-params` is a JSON string, which is easier to read than a URL and can be generated by other tools if necessary.
3. Not having to re-type `https://my-source.imgix.net` helps keep code DRY.

Here's how the previous example would be written out using `ix-path` and `ix-params` instead of `ix-src`. Regardless of the method choosen, the end result in-browser will be the same.
Here's how the previous example would be written out using `ix-path` and `ix-params` instead of `ix-src`. Regardless of the method chosen, the end result in-browser will be the same.

``` html
<img
Expand Down Expand Up @@ -294,7 +294,7 @@ imgix.config.hostInputAttribute = 'data-ix-host';

### Null Output Attributes

In rare cases, it may be undesirable to have `imgix.js` modify the `src`, `srcset`, or `sizes` attributes of the `<img>` elements it's targeting. In such cases, the default behavior can be overriden by setting some configuration values to `null`:
In rare cases, it may be undesirable to have `imgix.js` modify the `src`, `srcset`, or `sizes` attributes of the `<img>` elements it's targeting. In such cases, the default behavior can be overridden by setting some configuration values to `null`:

Using `<meta>` tags:

Expand Down

0 comments on commit e61bf23

Please sign in to comment.