From b621dab5d4a334386a751eec4ed67502492f6776 Mon Sep 17 00:00:00 2001 From: Vetrivel Chinnasamy Date: Tue, 30 Jun 2020 17:13:52 +0530 Subject: [PATCH] make link https (#19147) --- fixtures/attribute-behavior/src/attributes.js | 2 +- .../react-devtools-extensions/deploy.html | 2 +- .../flow-typed/jest.js | 2 +- packages/react-devtools/README.md | 2 +- .../react-dom/src/client/ReactDOMComponent.js | 2 +- .../src/events/DOMLegacyEventPluginSystem.js | 2 +- .../benchmarks/hacker-news/top-stories.js | 24 +++++++++---------- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/fixtures/attribute-behavior/src/attributes.js b/fixtures/attribute-behavior/src/attributes.js index 17d7767bcc..0c1c59fbce 100644 --- a/fixtures/attribute-behavior/src/attributes.js +++ b/fixtures/attribute-behavior/src/attributes.js @@ -255,7 +255,7 @@ const attributes = [ { name: 'cite', tagName: 'blockquote', - overrideStringValue: 'http://reactjs.com/', + overrideStringValue: 'https://reactjs.com/', }, {name: 'class', read: getAttribute('class')}, {name: 'classID', tagName: 'object', read: getAttribute('classid')}, diff --git a/packages/react-devtools-extensions/deploy.html b/packages/react-devtools-extensions/deploy.html index f6fa5b2de8..7bc40cdc73 100644 --- a/packages/react-devtools-extensions/deploy.html +++ b/packages/react-devtools-extensions/deploy.html @@ -18,7 +18,7 @@

Created on %date% from - %commit% + %commit%

diff --git a/packages/react-devtools-extensions/flow-typed/jest.js b/packages/react-devtools-extensions/flow-typed/jest.js index f8cd1b90be..39e6cae3c2 100644 --- a/packages/react-devtools-extensions/flow-typed/jest.js +++ b/packages/react-devtools-extensions/flow-typed/jest.js @@ -1164,7 +1164,7 @@ declare var expect: { }; // TODO handle return type -// http://jasmine.github.io/2.4/introduction.html#section-Spies +// https://jasmine.github.io/2.4/introduction.html#section-Spies declare function spyOn(value: mixed, method: string): Object; /** Holds all functions related to manipulating test runner */ diff --git a/packages/react-devtools/README.md b/packages/react-devtools/README.md index 6e4de246d7..d1c8dbf659 100644 --- a/packages/react-devtools/README.md +++ b/packages/react-devtools/README.md @@ -43,7 +43,7 @@ If you're using React Native 0.43 or higher, it should connect to your simulator You can open the [in-app developer menu](https://reactnative.dev/docs/debugging.html#accessing-the-in-app-developer-menu) and choose "Show Inspector". It will bring up an overlay that lets you tap on any UI element and see information about it: -![React Native Inspector](http://i.imgur.com/ReFhREb.gif) +![React Native Inspector](https://i.imgur.com/ReFhREb.gif) However, when `react-devtools` is running, Inspector will enter a special collapsed mode, and instead use the DevTools as primary UI. In this mode, clicking on something in the simulator will bring up the relevant components in the DevTools: diff --git a/packages/react-dom/src/client/ReactDOMComponent.js b/packages/react-dom/src/client/ReactDOMComponent.js index 9588729691..89663a9191 100644 --- a/packages/react-dom/src/client/ReactDOMComponent.js +++ b/packages/react-dom/src/client/ReactDOMComponent.js @@ -317,7 +317,7 @@ export function trapClickOnNonInteractiveElement(node: HTMLElement) { // non-interactive elements, which means delegated click listeners do not // fire. The workaround for this bug involves attaching an empty click // listener on the target node. - // http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html + // https://www.quirksmode.org/blog/archives/2010/09/click_event_del.html // Just set it using the onclick property so that we don't have to manage any // bookkeeping for it. Not sure if we need to clear it when the listener is // removed. diff --git a/packages/react-dom/src/events/DOMLegacyEventPluginSystem.js b/packages/react-dom/src/events/DOMLegacyEventPluginSystem.js index 6e53cb70bf..9489bcdb42 100644 --- a/packages/react-dom/src/events/DOMLegacyEventPluginSystem.js +++ b/packages/react-dom/src/events/DOMLegacyEventPluginSystem.js @@ -310,7 +310,7 @@ export function dispatchEventForLegacyPluginEventSystem( * top-level listeners to the document object only, at least for these * movement types of events and possibly all events. * - * @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html + * @see https://www.quirksmode.org/blog/archives/2010/09/click_event_del.html * * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but * they bubble to document. diff --git a/scripts/bench/benchmarks/hacker-news/top-stories.js b/scripts/bench/benchmarks/hacker-news/top-stories.js index 5a36444eae..408a8e955c 100644 --- a/scripts/bench/benchmarks/hacker-news/top-stories.js +++ b/scripts/bench/benchmarks/hacker-news/top-stories.js @@ -222,7 +222,7 @@ window.stories = [ time: 1493161601, title: 'JPEG Huffman Coding Tutorial', type: 'story', - url: 'http://www.impulseadventure.com/photo/jpeg-huffman-coding.html', + url: 'https://www.impulseadventure.com/photo/jpeg-huffman-coding.html', }, { by: 'jasontan', @@ -263,7 +263,7 @@ window.stories = [ title: 'Painting with Code: Introducing our new open source library React Sketch.app', type: 'story', - url: 'http://airbnb.design/painting-with-code/', + url: 'https://airbnb.design/painting-with-code/', }, { by: 'mromnia', @@ -448,7 +448,7 @@ window.stories = [ time: 1493139957, title: 'How to Become Well-Connected', type: 'story', - url: 'http://firstround.com/review/how-to-become-insanely-well-connected/', + url: 'https://firstround.com/review/how-to-become-insanely-well-connected/', }, { by: 'dbrgn', @@ -495,7 +495,7 @@ window.stories = [ time: 1493160263, title: 'Nginx 1.13 released with TLS 1.3 support', type: 'story', - url: 'http://mailman.nginx.org/pipermail/nginx-announce/2017/000195.html', + url: 'https://mailman.nginx.org/pipermail/nginx-announce/2017/000195.html', }, { by: 'bcherny', @@ -604,7 +604,7 @@ window.stories = [ title: 'Suicide of an Uber engineer: Widow blames job stress', type: 'story', url: - 'http://www.sfchronicle.com/business/article/Suicide-of-an-Uber-engineer-widow-blames-job-11095807.php?t=7e40d1f554&cmpid=fb-premium&cmpid=twitter-premium', + 'https://www.sfchronicle.com/business/article/Suicide-of-an-Uber-engineer-widow-blames-job-11095807.php?t=7e40d1f554&cmpid=fb-premium&cmpid=twitter-premium', }, { by: 'catc', @@ -828,7 +828,7 @@ window.stories = [ time: 1493143560, title: 'Implementing a Fast Research Compiler in Rust', type: 'story', - url: 'http://dawn.cs.stanford.edu/blog/weld.html', + url: 'https://dawn.cs.stanford.edu/blog/weld.html', }, { by: 'bluesilver07', @@ -848,7 +848,7 @@ window.stories = [ time: 1493142448, title: 'Xenko Game Engine 2.0 released', type: 'story', - url: 'http://xenko.com/blog/release-xenko-2-0-0/', + url: 'https://xenko.com/blog/release-xenko-2-0-0/', }, { by: 'molecule', @@ -919,7 +919,7 @@ window.stories = [ title: 'Robert M. Pirsig has died', type: 'story', url: - 'http://www.npr.org/sections/thetwo-way/2017/04/24/525443040/-zen-and-the-art-of-motorcycle-maintenance-author-robert-m-pirsig-dies-at-88', + 'https://www.npr.org/sections/thetwo-way/2017/04/24/525443040/-zen-and-the-art-of-motorcycle-maintenance-author-robert-m-pirsig-dies-at-88', }, { by: 'artsandsci', @@ -1119,7 +1119,7 @@ window.stories = [ time: 1493118936, title: 'Quantum – Open journal for quantum science', type: 'story', - url: 'http://quantum-journal.org/papers/', + url: 'https://quantum-journal.org/papers/', }, { by: 'tjalfi', @@ -1130,7 +1130,7 @@ window.stories = [ time: 1493097061, title: 'A Seven Dimensional Analysis of Hashing Methods [pdf]', type: 'story', - url: 'http://www.vldb.org/pvldb/vol9/p96-richter.pdf', + url: 'https://www.vldb.org/pvldb/vol9/p96-richter.pdf', }, { by: 'mxstbr', @@ -1220,7 +1220,7 @@ window.stories = [ 'Modern Hieroglyphs: Binary Logic Behind the Universal “Power Symbol”', type: 'story', url: - 'http://99percentinvisible.org/article/modern-hieroglyphics-binary-logic-behind-universal-power-symbol/', + 'https://99percentinvisible.org/article/modern-hieroglyphics-binary-logic-behind-universal-power-symbol/', }, { by: 'LaFolle', @@ -1250,7 +1250,7 @@ window.stories = [ time: 1493108371, title: 'Feynman Algorithm (2014)', type: 'story', - url: 'http://wiki.c2.com/?FeynmanAlgorithm', + url: 'https://wiki.c2.com/?FeynmanAlgorithm', }, { by: 'Thevet',