-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update deps, rename npmcdn to unpkg.com
- Loading branch information
Showing
4 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ var URLON = require('urlon'); | |
|
||
### Webpage | ||
```html | ||
<script src="https://npmcdn.com/[email protected]/dist/urlon.umd.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/urlon.umd.js"></script> | ||
<script> | ||
urlon // urlon.stringify() or urlon.parse() | ||
</script> | ||
|
@@ -27,7 +27,7 @@ var URLON = require('urlon'); | |
or | ||
|
||
```html | ||
<script src="https://npmcdn.com/[email protected]/dist/URLON.umd.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/URLON.umd.js"></script> | ||
<script> | ||
URLON // URLON.stringify() or URLON.parse() | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
(function () { | ||
var script = document.createElement('script') | ||
script.setAttribute('src', 'https://npmcdn.com/[email protected]/src/urlon.js') // never update version here | ||
script.setAttribute('src', 'https://unpkg.com/[email protected]/src/urlon.js') // never update version here | ||
document.head.appendChild(script) | ||
console.warn('Please consider use npm version of library or one served from npmcdn service. Follow https://github.com/vjeux/URLON to see details.') | ||
console.warn('Please consider use npm version of library or one served from unpkg.com service. Follow https://github.com/cerebral/urlon to see details.') | ||
})() |