Skip to content

Commit fd70d89

Browse files
authored
Fix WFL version in README.
1 parent fca2e0e commit fd70d89

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Web Font Loader gives you added control when using linked fonts via `@font-face`
2626
To use the Web Font Loader library, just include it in your page and tell it which fonts to load. For example, you could load fonts from [Google Fonts](http://www.google.com/fonts/) using the Web Font Loader hosted on [Google Hosted Libraries](https://developers.google.com/speed/libraries/) using the following code.
2727

2828
```html
29-
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.16/webfont.js"></script>
29+
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"></script>
3030
<script>
3131
WebFont.load({
3232
google: {
@@ -36,7 +36,7 @@ To use the Web Font Loader library, just include it in your page and tell it whi
3636
</script>
3737
```
3838

39-
Alternatively, you can link to the latest `1.x` version of the Web Font Loader by using `https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js` as the `script` source. Note that the version in this url is less specific. It will always load the latest `1.x` version, but it also has a shorter cache time to ensure that your page gets updates in a timely manner. For performance reasons, we recommend using an explicit version number (such as `1.6.16`) in urls when using the Web Font Loader in production. You can manually update the Web Font Loader version number in the url when you want to adopt a new version.
39+
Alternatively, you can link to the latest `1.x` version of the Web Font Loader by using `https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js` as the `script` source. Note that the version in this url is less specific. It will always load the latest `1.x` version, but it also has a shorter cache time to ensure that your page gets updates in a timely manner. For performance reasons, we recommend using an explicit version number (such as `1.6.26`) in urls when using the Web Font Loader in production. You can manually update the Web Font Loader version number in the url when you want to adopt a new version.
4040

4141
Web Font Loader is also available on the [jsDelivr](http://www.jsdelivr.com/projects/webfontloader) & [CDNJS](https://cdnjs.com/libraries/webfont) CDNs.
4242

@@ -50,7 +50,7 @@ It is also possible to use the Web Font Loader asynchronously. For example, to l
5050
5151
(function(d) {
5252
var wf = d.createElement('script'), s = d.scripts[0];
53-
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.16/webfont.js';
53+
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js';
5454
wf.async = true;
5555
s.parentNode.insertBefore(wf, s);
5656
})(document);
@@ -385,7 +385,7 @@ If `providerA` can serve fonts to a browser, but `providerB` cannot, The `fontin
385385

386386
## Copyright and License
387387

388-
Web Font Loader Copyright (c) 2010 Adobe Systems Incorporated, Google Incorporated.
388+
Web Font Loader Copyright (c) 2010-2017 Adobe Systems Incorporated, Google Incorporated.
389389

390390
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
391391

0 commit comments

Comments
 (0)