Skip to content

Commit

Permalink
Update README.md with Object.assign() dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
syranide committed Sep 16, 2015
1 parent 056f561 commit 5fbdca1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Shockwave Flash Player component for React. GCC `ADVANCED` optimizations compati

Supports all browsers supported by React.

Depends on [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is)
Depends on [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#Polyfill_for_non-ES6_browsers) and [`Object.assign()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill)

```
<ReactSWF
Expand All @@ -29,10 +29,14 @@ var returnValue = ref.getFPDOMNode().myEICallback(...);

## Breaking changes

#### 0.12.3

* Depends on `Object.assign()`, [polyfills are available.](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill)

#### 0.11.0

* React 0.13 components no longer support `ref.getDOMNode()`, use `ref.getFPDOMNode()` instead.
* Depends on `Object.is()`, [polyfills are available](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).
* Depends on `Object.is()`, [polyfills are available](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#Polyfill_for_non-ES6_browsers).

## Properties

Expand Down
8 changes: 6 additions & 2 deletions npm-react-swf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Shockwave Flash Player component for React. GCC `ADVANCED` optimizations compati

Supports all browsers supported by React.

Depends on [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is)
Depends on [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#Polyfill_for_non-ES6_browsers) and [`Object.assign()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill)

```
<ReactSWF
Expand All @@ -29,10 +29,14 @@ var returnValue = ref.getFPDOMNode().myEICallback(...);

## Breaking changes

#### 0.12.3

* Depends on `Object.assign()`, [polyfills are available.](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill)

#### 0.11.0

* React 0.13 components no longer support `ref.getDOMNode()`, use `ref.getFPDOMNode()` instead.
* Depends on `Object.is()`, [polyfills are available](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).
* Depends on `Object.is()`, [polyfills are available](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#Polyfill_for_non-ES6_browsers).

## Properties

Expand Down

0 comments on commit 5fbdca1

Please sign in to comment.