Skip to content

Commit

Permalink
Update link to Immutable Map in docs (#2530)
Browse files Browse the repository at this point in the history
Summary:
**Summary**
Map in docs, wherever mentioned, links to http://facebook.github.io/immutable-js/docs/#/Map and also in some cases to http://facebook.github.io/immutable-js/docs/#/Record/Record which then redirect to https://immutable-js.github.io/immutable-js/

However, the correct link for Map is https://immutable-js.github.io/immutable-js/docs/#/Map

Draft.js uses immutable 3.7.4 which released on 18 Jun 2015 according to this commit immutable-js/immutable-js@09f04e9
I have linked `Map` to the docs for that version(captured on 23 Jun 2015) through the Internet Archive.

Pull Request resolved: facebookarchive/draft-js#2530

Reviewed By: creedarky

Differential Revision: D22784847

Pulled By: mrkev

fbshipit-source-id: e91c92d2d26b09266bc6e53bb5e0eed0646ec60a
  • Loading branch information
agarwalrounak authored and facebook-github-bot committed Jul 28, 2020
1 parent 3094950 commit 9373cbd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/APIReference-ContentBlock.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ _Properties_

> Note
>
> Use [Immutable Map API](http://facebook.github.io/immutable-js/docs/#/Map)
> Use [Immutable Map API](https://web.archive.org/web/20150623131347/http://facebook.github.io:80/immutable-js/docs/#/Map)
> for the `ContentBlock` constructor or to set properties.
<ul class="apiIndex">
Expand Down Expand Up @@ -260,7 +260,7 @@ Executes a callback for each contiguous range of entities within this `ContentBl

> Note
>
> Use [Immutable Map API](http://facebook.github.io/immutable-js/docs/#/Map)
> Use [Immutable Map API](https://web.archive.org/web/20150623131347/http://facebook.github.io:80/immutable-js/docs/#/Map)
> for the `ContentBlock` constructor or to set properties.
### `key`
Expand Down
4 changes: 2 additions & 2 deletions docs/APIReference-ContentState.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ _Methods_

_Properties_

> Use [Immutable Map API](http://facebook.github.io/immutable-js/docs/#/Map) to
> Use [Immutable Map API](https://web.archive.org/web/20150623131347/http://facebook.github.io:80/immutable-js/docs/#/Map) to
> set properties.
>
> **Example**
Expand Down Expand Up @@ -416,7 +416,7 @@ editing.
## Properties
> Use [Immutable Map API](http://facebook.github.io/immutable-js/docs/#/Map) to
> Use [Immutable Map API](https://web.archive.org/web/20150623131347/http://facebook.github.io:80/immutable-js/docs/#/Map) to
> set properties.
### `blockMap`
Expand Down
4 changes: 2 additions & 2 deletions docs/APIReference-SelectionState.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ _Methods_

_Properties_

> Use [Immutable Map API](http://facebook.github.io/immutable-js/docs/#/Record/Record) to
> Use [Immutable Map API](https://web.archive.org/web/20150623131347/http://facebook.github.io:80/immutable-js/docs/#/Map) to
> set properties.
>
> **Example**
Expand Down Expand Up @@ -308,7 +308,7 @@ Returns a serialized version of the `SelectionState`. Useful for debugging.

## Properties

> Use [Immutable Map API](http://facebook.github.io/immutable-js/docs/#/Record/Record) to
> Use [Immutable Map API](https://web.archive.org/web/20150623131347/http://facebook.github.io:80/immutable-js/docs/#/Map) to
> set properties.
```js
Expand Down
2 changes: 1 addition & 1 deletion docs/Advanced-Topics-Custom-Block-Render.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ by matching the Draft block render map with the matched tag.
## Configuring block render map

Draft's default block render map can be overwritten by passing an
[Immutable Map](http://facebook.github.io/immutable-js/docs/#/Map) to
[Immutable Map](https://web.archive.org/web/20150623131347/http://facebook.github.io:80/immutable-js/docs/#/Map) to
the editor blockRender props.

_example of overwriting default block render map:_
Expand Down

0 comments on commit 9373cbd

Please sign in to comment.