Skip to content

Commit

Permalink
Merge pull request #446 from peterryan/fix/typos
Browse files Browse the repository at this point in the history
Fix minor typos in README and CONTRIBUTING
  • Loading branch information
gingerchew authored Mar 13, 2024
2 parents 3208784 + d8babc3 commit c0e5580
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ When implementing a feature please create an issue first explaining your idea an

## :pencil: Before you open a Pull Request

- Follow the same conding style.
- Follow the same coding style.
- Run eslint to verify your code, run the following command "eslint src/js" and fix any error you find in your code
- **DO NOT** commit changes in the dist directory, this files are created automatically.
- Follow Git best practices (especially use meaningful commit messages).
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GLightbox is a pure javascript lightbox. It can display images, iframes, inline
- **Small** - only 11KB Gzipped
- **Fast and Responsive** - works with any screen size
- **Gallery Support** - Create multiple galleries
- **Response Images Support** - Let the browser use the optimal image for the current screen resolution
- **Responsive Images Support** - Let the browser use the optimal image for the current screen resolution
- **Video Support** - Youtube, Vimeo and self hosted videos with autoplay
- **Inline content support** - display any inline content
- **Iframe support** - need to embed an iframe? no problem
Expand Down Expand Up @@ -111,7 +111,7 @@ Or manually download and link `glightbox.min.js` in your HTML:
<!-- Using responsive images: specify sizes and srcset through data attributes in the
same way you would with the img tag.
See: https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images -->
<a href="deafult.jpg" class="glightbox6" data-title="Responsive example"
<a href="default.jpg" class="glightbox6" data-title="Responsive example"
data-description="Your browser will choose the optimal image for the resolution"
data-sizes="(max-width: 600px) 480px, 800px"
data-srcset="img480.jpg 480w, img800.jpg 800w">
Expand Down

0 comments on commit c0e5580

Please sign in to comment.