Skip to content

Commit

Permalink
fix camelcase
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Oct 15, 2021
1 parent 62d96a7 commit ef28a75
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = function(grunt) {
banner: '<%= banner %> <%= bannerCond %>',
footer: '<%= footer %>',
mangle: false,
sourceMappingURL: 'https://paypal.github.io/SkipTo/downloads/js/<%= pkg.name %>.min.map'
sourceMappingURL: 'https://paypal.github.io/skipto/downloads/js/<%= pkg.name %>.min.map'
// , beautify: true
},
dist: {
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ NOTE: Browsers on iOS and iPadOS devices support `accesskey` to move focus to th

## Adding to Website

All you need are either SkipTo.js or SkipTo.min.js from the "compiled/js" directory. Please note that SkipTo.min.js is a minified (a lighter version) of the script.
If you would like to be able to debug your production-ready script, include the provided SkipTo.min.map file as well.
All you need are either skipto.js or skipto.min.js from the "downloads/js" directory. Please note that skipto.min.js is a minified (a lighter version) of the script.
If you would like to be able to debug your production-ready script, include the provided skipto.min.js.map file as well.

### Local File on Your Web Server

Expand Down Expand Up @@ -437,7 +437,7 @@ Happy skipping!
* Popup tooltip supports high contrast operating system settings.
* Action menu items are disabled by default.
* M of N items in landmark or heading list is disabled by default.
* CDN reference to `SkipTo.min.js` is now available from University of Illinois.
* CDN reference to `skipto.min.js` is now available from University of Illinois.
* Changed the way the button is hidden visually in "popup" mode not to create wider pages

### Version 4.0.3
Expand Down
10 changes: 5 additions & 5 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ Beginning with Joomla 4.0.0 **skipto** is provided as part of the core installat

## What about plain JavaScript

All you need are either SkipTo.js or SkipTo.min.js from the "compiled/js" directory. Please note that SkipTo.min.js is a minified (a lighter version) of the script.
If you would like to be able to debug your production-ready script, include the provided SkipTo.min.map file as well.
All you need are either skipto.js or skipto.min.js from the "downloads/js" directory. Please note that skipto.min.js is a minified (a lighter version) of the script.
If you would like to be able to debug your production-ready script, include the provided skipto.min.js.map file as well.

To use the SkipTo script, just include it at the bottom of your HTML page or template, as follows:

```html
<script type="text/javascript" src="https://paypal.github.io/skipto/downloads/js/SkipTo.min.js"></script>
<script type="text/javascript" src="https://paypal.github.io/skipto/downloads/js/skipto.min.js"></script>
```

Note that by default the path is set to load the script from the Github external source. If this is not what you want, please make sure that "src" points to the place where you put the Javascript file, otherwise, things will not work as intended.
Expand Down Expand Up @@ -69,7 +69,7 @@ var SkipToConfig = {
</script>
```

The code above will need to be inserted before including the SkipTo.js or SkipTo.min.js into your page or template.
The code above will need to be inserted before including the skipto.js or skipto.min.js into your page or template.

### Notes

Expand Down Expand Up @@ -141,6 +141,6 @@ PayPal Accessibility Gang
**Nicholas Hoyt**
[https://github.com/nhoyt](https://github.com/nhoyt)
**Brian Teeman**
**Brian Teeman**
[https://github.com/brianteeman](https://github.com/brianteeman)

0 comments on commit ef28a75

Please sign in to comment.