Skip to content

Commit

Permalink
Use HTTPS URLs where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Nov 21, 2014
1 parent 54fdd4d commit 880fb77
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 20 deletions.
2 changes: 1 addition & 1 deletion LICENSE-MIT.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright Mathias Bynens <http://mathiasbynens.be/>
Copyright Mathias Bynens <https://mathiasbynens.be/>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ require('String.fromCodePoint');

## Notes

[A polyfill + test suite for `String.prototype.codePointAt`](http://mths.be/codepointat) is available, too.
[A polyfill + test suite for `String.prototype.codePointAt`](https://mths.be/codepointat) is available, too.

The tests for this repository [are now used by Mozilla](http://hg.mozilla.org/integration/mozilla-inbound/rev/2411714cd058), to help ensure their native `String.fromCodePoint` implementation is correct.

## Author

| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") |
|---|
| [Mathias Bynens](http://mathiasbynens.be/) |
| [Mathias Bynens](https://mathiasbynens.be/) |

## License

This polyfill is available under the [MIT](http://mths.be/mit) license.
This polyfill is available under the [MIT](https://mths.be/mit) license.
4 changes: 2 additions & 2 deletions fromcodepoint.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! http://mths.be/fromcodepoint v0.2.1 by @mathias */
/*! https://mths.be/fromcodepoint v0.2.1 by @mathias */
if (!String.fromCodePoint) {
(function() {
var defineProperty = (function() {
Expand Down Expand Up @@ -36,7 +36,7 @@ if (!String.fromCodePoint) {
if (codePoint <= 0xFFFF) { // BMP code point
codeUnits.push(codePoint);
} else { // Astral code point; split in surrogate halves
// http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
// https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
codePoint -= 0x10000;
highSurrogate = (codePoint >> 10) + 0xD800;
lowSurrogate = (codePoint % 0x400) + 0xDC00;
Expand Down
18 changes: 4 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "string.fromcodepoint",
"version": "0.2.1",
"description": "A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.",
"homepage": "http://mths.be/fromcodepoint",
"homepage": "https://mths.be/fromcodepoint",
"main": "fromcodepoint.js",
"keywords": [
"string",
Expand All @@ -11,30 +11,20 @@
"ecmascript",
"polyfill"
],
"licenses": [
{
"type": "MIT",
"url": "http://mths.be/mit"
}
],
"license": "MIT",
"author": {
"name": "Mathias Bynens",
"url": "http://mathiasbynens.be/"
"url": "https://mathiasbynens.be/"
},
"repository": {
"type": "git",
"url": "https://github.com/mathiasbynens/String.fromCodePoint.git"
},
"bugs": {
"url": "https://github.com/mathiasbynens/String.fromCodePoint/issues"
},
"bugs": "https://github.com/mathiasbynens/String.fromCodePoint/issues",
"files": [
"LICENSE-MIT.txt",
"fromcodepoint.js"
],
"directories": {
"test": "tests"
},
"devDependencies": {
"coveralls": "^2.11.1",
"istanbul": "^0.3.0"
Expand Down

0 comments on commit 880fb77

Please sign in to comment.