Skip to content

Commit 3e8951e

Browse files
committed
SSL/TLSize all the things! (convert http:// to https:// where appropriate)
Update links to use https:// where it is supported. There's probably a lot more that could be fixed, but these are the core ones I found (especially the download links in order to prevent MITM attacks). Note that there are some fb.me links that will redirect to http:// even while accessed over https://, but this seemed like the best way to fix those for now. NOTE: Only non-third-party files were modified. There are references to http:// URLs in vendored/third-party files, but seems appropriate to fix upstream for those rather than editing the files. Also, copy one image locally to the blog, as it was hotlinking to a site that did not support https://. Last, use youtube-nocookie.com instead of youtube.com for video embeds, as the former doesn't try to set a cookie on load (privacy enhancement).
1 parent feef6e8 commit 3e8951e

File tree

141 files changed

+428
-428
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+428
-428
lines changed

Diff for: CHANGELOG.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
#### New Features
7070

71-
* Support for using ES6 classes to build React components; see the [v0.13.0 beta 1 notes](http://facebook.github.io/react/blog/2015/01/27/react-v0.13.0-beta-1.html) for details.
71+
* Support for using ES6 classes to build React components; see the [v0.13.0 beta 1 notes](https://facebook.github.io/react/blog/2015/01/27/react-v0.13.0-beta-1.html) for details.
7272
* Added new top-level API `React.findDOMNode(component)`, which should be used in place of `component.getDOMNode()`. The base class for ES6-based components will not have `getDOMNode`. This change will enable some more patterns moving forward.
7373
* Added a new top-level API `React.cloneElement(el, props)` for making copies of React elements – see the [v0.13 RC2 notes](/react/blog/2015/03/03/react-v0.13-rc2.html#react.cloneelement) for more details.
7474
* New `ref` style, allowing a callback to be used in place of a name: `<Photo ref={(c) => this._photo = c} />` allows you to reference the component with `this._photo` (as opposed to `ref="photo"` which gives `this.refs.photo`).
@@ -304,7 +304,7 @@
304304

305305
#### New Features
306306
* Added warnings to help migrate towards descriptors
307-
* Made it possible to server render without React-related markup (`data-reactid`, `data-react-checksum`). This DOM will not be mountable by React. [Read the docs for `React.renderComponentToStaticMarkup`](http://facebook.github.io/react/docs/top-level-api.html#react.rendercomponenttostaticmarkup)
307+
* Made it possible to server render without React-related markup (`data-reactid`, `data-react-checksum`). This DOM will not be mountable by React. [Read the docs for `React.renderComponentToStaticMarkup`](https://facebook.github.io/react/docs/top-level-api.html#react.rendercomponenttostaticmarkup)
308308
* Added support for more attributes:
309309
* `srcSet` for `<img>` to specify images at different pixel ratios
310310
* `textAnchor` for SVG
@@ -316,7 +316,7 @@
316316

317317
### Addons
318318

319-
* `update` function to deal with immutable data. [Read the docs](http://facebook.github.io/react/docs/update.html)
319+
* `update` function to deal with immutable data. [Read the docs](https://facebook.github.io/react/docs/update.html)
320320

321321
### react-tools
322322
* Added an option argument to `transform` function. The only option supported is `harmony`, which behaves the same as `jsx --harmony` on the command line. This uses the ES6 transforms from [jstransform](https://github.com/facebook/jstransform).
@@ -478,7 +478,7 @@
478478

479479
### React with Addons (New!)
480480

481-
* Introduced a separate build with several "addons" which we think can help improve the React experience. We plan to deprecate this in the long-term, instead shipping each as standalone pieces. [Read more in the docs](http://facebook.github.io/react/docs/addons.html).
481+
* Introduced a separate build with several "addons" which we think can help improve the React experience. We plan to deprecate this in the long-term, instead shipping each as standalone pieces. [Read more in the docs](https://facebook.github.io/react/docs/addons.html).
482482

483483
### JSX
484484

@@ -511,10 +511,10 @@
511511
* Switch from using `id` attribute to `data-reactid` to track DOM nodes. This allows you to integrate with other JS and CSS libraries more easily.
512512
* Support for more DOM elements and attributes (e.g., `<canvas>`)
513513
* Improved server-side rendering APIs. `React.renderComponentToString(<component>, callback)` allows you to use React on the server and generate markup which can be sent down to the browser.
514-
* `prop` improvements: validation and default values. [Read our blog post for details...](http://facebook.github.io/react/blog/2013/07/11/react-v0-4-prop-validation-and-default-values.html)
515-
* Support for the `key` prop, which allows for finer control over reconciliation. [Read the docs for details...](http://facebook.github.io/react/docs/multiple-components.html)
516-
* Removed `React.autoBind`. [Read our blog post for details...](http://facebook.github.io/react/blog/2013/07/02/react-v0-4-autobind-by-default.html)
517-
* Improvements to forms. We've written wrappers around `<input>`, `<textarea>`, `<option>`, and `<select>` in order to standardize many inconsistencies in browser implementations. This includes support for `defaultValue`, and improved implementation of the `onChange` event, and circuit completion. [Read the docs for details...](http://facebook.github.io/react/docs/forms.html)
514+
* `prop` improvements: validation and default values. [Read our blog post for details...](https://facebook.github.io/react/blog/2013/07/11/react-v0-4-prop-validation-and-default-values.html)
515+
* Support for the `key` prop, which allows for finer control over reconciliation. [Read the docs for details...](https://facebook.github.io/react/docs/multiple-components.html)
516+
* Removed `React.autoBind`. [Read our blog post for details...](https://facebook.github.io/react/blog/2013/07/02/react-v0-4-autobind-by-default.html)
517+
* Improvements to forms. We've written wrappers around `<input>`, `<textarea>`, `<option>`, and `<select>` in order to standardize many inconsistencies in browser implementations. This includes support for `defaultValue`, and improved implementation of the `onChange` event, and circuit completion. [Read the docs for details...](https://facebook.github.io/react/docs/forms.html)
518518
* We've implemented an improved synthetic event system that conforms to the W3C spec.
519519
* Updates to your component are batched now, which may result in a significantly faster re-render of components. `this.setState` now takes an optional callback as it's second parameter. If you were using `onClick={this.setState.bind(this, state)}` previously, you'll want to make sure you add a third parameter so that the event is not treated as the callback.
520520

Diff for: CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing to React
22

3-
React is one of Facebook's first open source projects that is both under very active development and is also being used to ship code to everybody on [facebook.com](https://facebook.com). We're still working out the kinks to make contributing to this project as easy and transparent as possible, but we're not quite there yet. Hopefully this document makes the process for contributing clear and preempts some questions you may have.
3+
React is one of Facebook's first open source projects that is both under very active development and is also being used to ship code to everybody on [facebook.com](https://www.facebook.com). We're still working out the kinks to make contributing to this project as easy and transparent as possible, but we're not quite there yet. Hopefully this document makes the process for contributing clear and preempts some questions you may have.
44

55
## Our Development Process
66

@@ -45,8 +45,8 @@ Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe
4545

4646
## How to Get in Touch
4747

48-
* IRC - [#reactjs on freenode](http://webchat.freenode.net/?channels=reactjs)
49-
* Mailing list - [reactjs on Google Groups](http://groups.google.com/group/reactjs)
48+
* IRC - [#reactjs on freenode](https://webchat.freenode.net/?channels=reactjs)
49+
* Mailing list - [reactjs on Google Groups](https://groups.google.com/group/reactjs)
5050

5151
## Style Guide
5252

Diff for: README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
# [React](http://facebook.github.io/react) [![Build Status](https://travis-ci.org/facebook/react.svg?branch=master)](https://travis-ci.org/facebook/react)
1+
# [React](https://facebook.github.io/react) [![Build Status](https://travis-ci.org/facebook/react.svg?branch=master)](https://travis-ci.org/facebook/react)
22

33
React is a JavaScript library for building user interfaces.
44

55
* **Just the UI:** Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
6-
* **Virtual DOM:** React abstracts away the DOM from you, giving a simpler programming model and better performance. React can also render on the server using Node, and it can power native apps using [React Native](http://facebook.github.io/react-native/).
6+
* **Virtual DOM:** React abstracts away the DOM from you, giving a simpler programming model and better performance. React can also render on the server using Node, and it can power native apps using [React Native](https://facebook.github.io/react-native/).
77
* **Data flow:** React implements one-way reactive data flow which reduces boilerplate and is easier to reason about than traditional data binding.
88

99
**NEW**! Check out our newest project [React Native](https://github.com/facebook/react-native), which uses React and JavaScript to create native mobile apps.
1010

11-
[Learn how to use React in your own project.](http://facebook.github.io/react/docs/getting-started.html).
11+
[Learn how to use React in your own project.](https://facebook.github.io/react/docs/getting-started.html).
1212

1313
## Examples
1414

15-
We have several examples [on the website](http://facebook.github.io/react/). Here is the first one to get you started:
15+
We have several examples [on the website](https://facebook.github.io/react/). Here is the first one to get you started:
1616

1717
```js
1818
var HelloMessage = React.createClass({
@@ -29,20 +29,20 @@ React.render(
2929

3030
This example will render "Hello John" into a container on the page.
3131

32-
You'll notice that we used an HTML-like syntax; [we call it JSX](http://facebook.github.io/react/docs/jsx-in-depth.html). JSX is not required to use React, but it makes code more readable, and writing it feels like writing HTML. A simple transform is included with React that allows converting JSX into native JavaScript for browsers to digest.
32+
You'll notice that we used an HTML-like syntax; [we call it JSX](https://facebook.github.io/react/docs/jsx-in-depth.html). JSX is not required to use React, but it makes code more readable, and writing it feels like writing HTML. A simple transform is included with React that allows converting JSX into native JavaScript for browsers to digest.
3333

3434
## Installation
3535

3636
The fastest way to get started is to serve JavaScript from the CDN (also available on [cdnjs](https://cdnjs.com/libraries/react) and [jsdelivr](http://www.jsdelivr.com/#!react)):
3737

3838
```html
3939
<!-- The core React library -->
40-
<script src="http://fb.me/react-0.13.2.js"></script>
40+
<script src="https://fb.me/react-0.13.2.js"></script>
4141
<!-- In-browser JSX transformer, remove when pre-compiling JSX. -->
42-
<script src="http://fb.me/JSXTransformer-0.13.2.js"></script>
42+
<script src="https://fb.me/JSXTransformer-0.13.2.js"></script>
4343
```
4444

45-
We've also built a [starter kit](http://facebook.github.io/react/downloads/react-0.13.2.zip) which might be useful if this is your first time using React. It includes a webpage with an example of using React with live code.
45+
We've also built a [starter kit](https://facebook.github.io/react/downloads/react-0.13.2.zip) which might be useful if this is your first time using React. It includes a webpage with an example of using React with live code.
4646

4747
If you'd like to use [bower](http://bower.io), it's as easy as:
4848

Diff for: docs/_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: React
33
description: A JavaScript library for building user interfaces
4-
url: http://facebook.github.io
4+
url: https://facebook.github.io
55
baseurl: "/react"
66
permalink: "/blog/:year/:month/:day/:title.html"
77
paginate_path: "/blog/page:num/"

Diff for: docs/_data/nav_docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
items:
9292
- id: flux-overview
9393
title: Flux Overview
94-
href: http://facebook.github.io/flux/docs/overview.html
94+
href: https://facebook.github.io/flux/docs/overview.html
9595
- id: flux-todo-list
9696
title: Flux TodoMVC Tutorial
97-
href: http://facebook.github.io/flux/docs/todo-list.html
97+
href: https://facebook.github.io/flux/docs/todo-list.html

Diff for: docs/_layouts/default.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<meta name="viewport" content="width=device-width">
99
<meta property="og:title" content="{{ page.title }} | React">
1010
<meta property="og:type" content="website">
11-
<meta property="og:url" content="http://facebook.github.io/react{{ page.url }}">
12-
<meta property="og:image" content="http://facebook.github.io/react/img/logo_og.png">
11+
<meta property="og:url" content="https://facebook.github.io/react{{ page.url }}">
12+
<meta property="og:image" content="https://facebook.github.io/react/img/logo_og.png">
1313
<meta property="og:description" content="A JavaScript library for building user interfaces">
1414
<meta property="fb:app_id" content="623268441017527">
1515

@@ -53,7 +53,7 @@
5353

5454
<ul class="nav-site nav-site-external">
5555
<li><a href="https://github.com/facebook/react">GitHub</a>
56-
<li><a href="http://facebook.github.io/react-native/">React Native</a>
56+
<li><a href="https://facebook.github.io/react-native/">React Native</a>
5757
</ul>
5858
</div>
5959
</div>

Diff for: docs/_posts/2013-06-02-jsfiddle-integration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: JSFiddle Integration
33
author: Christopher Chedeau
44
---
55

6-
[JSFiddle](http://jsfiddle.net) just announced support for React. This is an exciting news as it makes collaboration on snippets of code a lot easier. You can play around this **[base React JSFiddle](http://jsfiddle.net/vjeux/kb3gN/)**, fork it and share it! A [fiddle without JSX](http://jsfiddle.net/vjeux/VkebS/) is also available.
6+
[JSFiddle](https://jsfiddle.net) just announced support for React. This is an exciting news as it makes collaboration on snippets of code a lot easier. You can play around this **[base React JSFiddle](https://jsfiddle.net/vjeux/kb3gN/)**, fork it and share it! A [fiddle without JSX](https://jsfiddle.net/vjeux/VkebS/) is also available.
77

88

99
<blockquote class="twitter-tweet" align="center"><p>React (by Facebook) is now available on JSFiddle. <a href="http://t.co/wNQf9JPv5u" title="http://facebook.github.io/react/">facebook.github.io/react/</a></p>&mdash; JSFiddle (@jsfiddle) <a href="https://twitter.com/jsfiddle/status/341114115781177344">June 2, 2013</a></blockquote>

Diff for: docs/_posts/2013-06-05-why-react.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ React really shines when your data changes over time.
4040
In a traditional JavaScript application, you need to look at what data changed
4141
and imperatively make changes to the DOM to keep it up-to-date. Even AngularJS,
4242
which provides a declarative interface via directives and data binding [requires
43-
a linking function to manually update DOM nodes](http://code.angularjs.org/1.0.8/docs/guide/directive#reasonsbehindthecompilelinkseparation).
43+
a linking function to manually update DOM nodes](https://code.angularjs.org/1.0.8/docs/guide/directive#reasonsbehindthecompilelinkseparation).
4444

4545
React takes a different approach.
4646

@@ -56,7 +56,7 @@ to the DOM.
5656
> lightweight description of what the DOM should look like.
5757
5858
We call this process **reconciliation**. Check out
59-
[this jsFiddle](http://jsfiddle.net/fv6RD/3/) to see an example of
59+
[this jsFiddle](https://jsfiddle.net/fv6RD/3/) to see an example of
6060
reconciliation in action.
6161

6262
Because this re-render is so fast (around 1ms for TodoMVC), the developer
@@ -74,7 +74,7 @@ some pretty cool things with it:
7474
- We've built internal prototypes that run React apps in a web worker and use
7575
React to drive **native iOS views** via an Objective-C bridge.
7676
- You can run React
77-
[on the server](http://github.com/petehunt/react-server-rendering-example)
77+
[on the server](https://github.com/petehunt/react-server-rendering-example)
7878
for SEO, performance, code sharing and overall flexibility.
7979
- Events behave in a consistent, standards-compliant way in all browsers
8080
(including IE8) and automatically use

Diff for: docs/_posts/2013-06-12-community-roundup.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ It looks like [Ben Alpert](http://benalpert.com/) is the first person outside of
3838
3939
## Origins of React
4040

41-
[Pete Hunt](http://www.petehunt.net/blog/) explained what differentiates React from other JavaScript libraries in [a previous blog post](http://facebook.github.io/react/blog/2013/06/05/why-react.html). [Lee Byron](http://leebyron.com/) gives another perspective on Quora:
41+
[Pete Hunt](http://www.petehunt.net/blog/) explained what differentiates React from other JavaScript libraries in [a previous blog post](/react/blog/2013/06/05/why-react.html). [Lee Byron](http://leebyron.com/) gives another perspective on Quora:
4242

4343
> React isn't quite like any other popular Javascript libraries, and it solves a very specific problem: complex UI rendering. It's also intended to be used along side many other popular libraries. For example, React works well with Backbone.js, amongst many others.
4444
>
4545
> React was born out of frustrations with the common pattern of writing two-way data bindings in complex MVC apps. React is an implementation of one-way data bindings.
4646
>
47-
> [Read the full post...](http://www.quora.com/React-JS-Library/How-is-Facebooks-React-JavaScript-library/answer/Lee-Byron?srid=3DcX)
47+
> [Read the full post...](https://www.quora.com/React-JS-Library/How-is-Facebooks-React-JavaScript-library/answer/Lee-Byron?srid=3DcX)

Diff for: docs/_posts/2013-06-19-community-roundup-2.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ Since the launch we have received a lot of feedback and are actively working on
2121
2222
## React and Socket.IO Chat Application
2323

24-
[Danial Khosravi](http://danialk.github.io/) made a real-time chat application that interacts with the back-end using Socket.IO.
24+
[Danial Khosravi](https://danialk.github.io/) made a real-time chat application that interacts with the back-end using Socket.IO.
2525

2626
> A week ago I was playing with AngularJS and [this little chat application](https://github.com/btford/angular-socket-io-im) which uses socket.io and nodejs for realtime communication. Yesterday I saw a post about ReactJS in [EchoJS](http://www.echojs.com/) and started playing with this UI library. After playing a bit with React, I decided to write and chat application using React and I used Bran Ford's Backend for server side of this little app.
27-
> <figure>[![](/react/img/blog/chatapp.png)](http://danialk.github.io/blog/2013/06/16/reactjs-and-socket-dot-io-chat-application/)</figure>
27+
> <figure>[![](/react/img/blog/chatapp.png)](https://danialk.github.io/blog/2013/06/16/reactjs-and-socket-dot-io-chat-application/)</figure>
2828
>
29-
> [Read the full post...](http://danialk.github.io/blog/2013/06/16/reactjs-and-socket-dot-io-chat-application/)
29+
> [Read the full post...](https://danialk.github.io/blog/2013/06/16/reactjs-and-socket-dot-io-chat-application/)
3030
3131
## React and Other Frameworks
3232

@@ -36,9 +36,9 @@ Since the launch we have received a lot of feedback and are actively working on
3636
>
3737
> We've designed React from the beginning to work well with other libraries. Angular is no exception. Let's take the original Angular example and use React to implement the fundoo-rating directive.
3838
>
39-
> [Read the full post...](http://www.quora.com/Pete-Hunt/Posts/Facebooks-React-vs-AngularJS-A-Closer-Look)
39+
> [Read the full post...](https://www.quora.com/Pete-Hunt/Posts/Facebooks-React-vs-AngularJS-A-Closer-Look)
4040
41-
In the same vein, [Markov Twain](https://twitter.com/markov_twain/status/345702941845499906) re-implemented the examples on the front-page [with Ember](http://jsbin.com/azihiw/2/edit) and [Vlad Yazhbin](https://twitter.com/vla) re-implemented the tutorial [with Angular](http://jsfiddle.net/vla/Cdrse/).
41+
In the same vein, [Markov Twain](https://twitter.com/markov_twain/status/345702941845499906) re-implemented the examples on the front-page [with Ember](http://jsbin.com/azihiw/2/edit) and [Vlad Yazhbin](https://twitter.com/vla) re-implemented the tutorial [with Angular](https://jsfiddle.net/vla/Cdrse/).
4242

4343
## Web Components: React & x-tags
4444

@@ -64,7 +64,7 @@ Mozilla and Google are actively working on Web Components. [Vjeux](http://blog.v
6464

6565
Many of you pointed out differences between JSX and HTML. In order to clear up some confusion, we have added some documentation that covers the four main differences:
6666

67-
- [Whitespace removal](http://facebook.github.io/react/docs/jsx-is-not-html.html)
68-
- [HTML Entities](http://facebook.github.io/react/docs/jsx-is-not-html.html)
69-
- [Comments](http://facebook.github.io/react/docs/jsx-is-not-html.html)
70-
- [Custom HTML Attributes](http://facebook.github.io/react/docs/jsx-is-not-html.html)
67+
- [Whitespace removal](/react/docs/jsx-is-not-html.html)
68+
- [HTML Entities](/react/docs/jsx-is-not-html.html)
69+
- [Comments](/react/docs/jsx-is-not-html.html)
70+
- [Custom HTML Attributes](/react/docs/jsx-is-not-html.html)

0 commit comments

Comments
 (0)