Skip to content

Commit

Permalink
[docs] Change http to https part 2 (mui#16171)
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya1906 authored and oliviertassinari committed Jun 12, 2019
1 parent 4f7aa9b commit a20ea96
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# EditorConfig is awesome: http://EditorConfig.org
# EditorConfig is awesome: https://editorconfig.org/

# top-most EditorConfig file
root = true
Expand Down
2 changes: 1 addition & 1 deletion .github/support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ supportComment: |
👋 Thanks for using Material-UI!
We use the issue tracker exclusively for bug reports and feature requests, however,
this issue appears to be a support request or question. Please ask on [StackOverflow](http://stackoverflow.com/questions/tagged/material-ui) where the
this issue appears to be a support request or question. Please ask on [StackOverflow](https://stackoverflow.com/questions/tagged/material-ui) where the
community will do their best to help. There is a "material-ui" tag that you can use to tag your
question.
Expand Down
2 changes: 1 addition & 1 deletion SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Asking Questions

For how-to questions and other non-issues, please use [StackOverflow](http://stackoverflow.com/questions/tagged/material-ui) or [Spectrum](https://spectrum.chat/material-ui) chat instead of Github issues. There is a StackOverflow tag called "material-ui" that you can use to tag your questions.
For how-to questions and other non-issues, please use [StackOverflow](https://stackoverflow.com/questions/tagged/material-ui) or [Spectrum](https://spectrum.chat/material-ui) chat instead of Github issues. There is a StackOverflow tag called "material-ui" that you can use to tag your questions.

## Opening an Issue

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/components/icons/icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ but [https://materialdesignicons.com](https://materialdesignicons.com/) provides

The `Icon` component will display an icon from any icon font that supports ligatures.
As a prerequisite, you must include one, such as the
[Material icon font](http://google.github.io/material-design-icons/#icon-font-for-the-web) in your project, for instance, via Google Web Fonts:
[Material icon font](https://google.github.io/material-design-icons/#icon-font-for-the-web) in your project, for instance, via Google Web Fonts:

```html
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/guides/server-rendering/server-rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default theme;
### The server-side

The following is the outline for what our server-side is going to look like.
We are going to set up an [Express middleware](http://expressjs.com/en/guide/using-middleware.html) using [app.use](http://expressjs.com/en/api.html) to handle all requests that come in to our server.
We are going to set up an [Express middleware](https://expressjs.com/en/guide/using-middleware.html) using [app.use](https://expressjs.com/en/api.html) to handle all requests that come in to our server.
If you're unfamiliar with Express or middleware, just know that our handleRender function will be called every time the server receives a request.

`server.js`
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui-icons/builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ generates the appropriate `.js` files in the `build` folder, and creates a `pack

`node build.js --help` can be used to display the options available for building.

You can build your own SVG icons as well as collections like [game-icons](http://game-icons.net/)
You can build your own SVG icons as well as collections like [game-icons](https://game-icons.net/)
through command line options.

* `--output-dir` - Directory to output generated components.
Expand Down
8 changes: 4 additions & 4 deletions packages/material-ui/src/ButtonBase/ButtonBase.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ describe('<ButtonBase />', () => {
});

it('should automatically change the button to an a element when href is provided', () => {
const wrapper = mount(<ButtonBase href="http://google.com">Hello</ButtonBase>);
const wrapper = mount(<ButtonBase href="https://google.com">Hello</ButtonBase>);
const button = wrapper.find('[role="button"]');
assert.strictEqual(button.type(), 'a');
assert.strictEqual(button.props().href, 'http://google.com');
assert.strictEqual(button.props().href, 'https://google.com');
});

it('should change the button type to a and set role="button"', () => {
Expand All @@ -92,13 +92,13 @@ describe('<ButtonBase />', () => {

it('should not change the button to an a element', () => {
const wrapper = mount(
<ButtonBase component="span" href="http://google.com">
<ButtonBase component="span" href="https://google.com">
Hello
</ButtonBase>,
);
const button = wrapper.find('[role="button"]');
assert.strictEqual(button.name(), 'span');
assert.strictEqual(button.props().href, 'http://google.com');
assert.strictEqual(button.props().href, 'https://google.com');
});
});

Expand Down

0 comments on commit a20ea96

Please sign in to comment.