Skip to content

Commit

Permalink
version
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxodin committed Apr 15, 2021
1 parent 86fdf6e commit 7d727a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Let's assume that your browser does not support the function "Element.prototype.

Add this script on the top of your page:
```html
<script src="https://cdn.jsdelivr.net/gh/nuxodin/lazyfill@0.2.1/mod.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/nuxodin/lazyfill@0.2.5/mod.min.js"></script>
```
done!

Expand Down
4 changes: 2 additions & 2 deletions mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var urls = {
'unpkg.com/@ungap/custom-elements@0.1.15/es.js':{
'customElements':[window],
},
'cdn.jsdelivr.net/gh/nuxodin/lazyfill@0.2.1/polyfills/Element/combo.js':{
'cdn.jsdelivr.net/gh/nuxodin/lazyfill@0.2.5/polyfills/Element/combo.js':{
'matches':[Element.prototype],
'closest':[Element.prototype],
'prepend':[Element.prototype],
Expand Down Expand Up @@ -144,7 +144,7 @@ function createUrls(obj, realObj, rootUrl){
}
}
console.log(urls)
createUrls(lazyfills, window, 'cdn.jsdelivr.net/gh/nuxodin/lazyfill@0.2.1/polyfills/');
createUrls(lazyfills, window, 'cdn.jsdelivr.net/gh/nuxodin/lazyfill@0.2.5/polyfills/');


var url, props, prop, obj, objects, i;
Expand Down

0 comments on commit 7d727a6

Please sign in to comment.