Skip to content

Commit

Permalink
Fix bad react-dom-server require in non-npm ReactSWFCompat
Browse files Browse the repository at this point in the history
  • Loading branch information
syranide committed Jul 15, 2016
1 parent 90ab856 commit 75faa48
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-swf",
"version": "1.0.5",
"version": "1.0.6",
"license": "MIT",
"description": "Shockwave Flash Player component for React",
"authors": ["Andreas Svensson <andreas@syranide.com>"],
Expand Down
2 changes: 1 addition & 1 deletion npm-react-swf/compat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! react-swf v1.0.5 | @syranide | MIT license */
/*! react-swf v1.0.6 | @syranide | MIT license */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion npm-react-swf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-swf",
"version": "1.0.5",
"version": "1.0.6",
"license": "MIT",
"description": "Shockwave Flash Player component for React",
"author": "Andreas Svensson <andreas@syranide.com>",
Expand Down
2 changes: 1 addition & 1 deletion npm-react-swf/react-swf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! react-swf v1.0.5 | @syranide | MIT license */
/*! react-swf v1.0.6 | @syranide | MIT license */

'use strict';

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-swf",
"version": "1.0.5",
"version": "1.0.6",
"license": "MIT",
"description": "Shockwave Flash Player component for React",
"author": "Andreas Svensson <andreas@syranide.com>",
Expand Down
4 changes: 2 additions & 2 deletions react-swf-compat.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*! react-swf v1.0.5 | @syranide | MIT license */
/*! react-swf v1.0.6 | @syranide | MIT license */

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['react', 'react-dom', 'react-dom/server', 'react-swf'], factory);
} else if (typeof exports === 'object') {
module.exports = factory(require('react'), require('react-dom'), require('react-dom-server'), require('react-swf'));
module.exports = factory(require('react'), require('react-dom'), require('react-dom/server'), require('react-swf'));
} else {
root.ReactSWFCompat = factory(root.React, root.ReactDOM, root.ReactDOMServer, root.ReactSWF);
}
Expand Down
4 changes: 2 additions & 2 deletions react-swf-compat.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion react-swf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! react-swf v1.0.5 | @syranide | MIT license */
/*! react-swf v1.0.6 | @syranide | MIT license */

(function(root, factory) {
if (typeof define === 'function' && define.amd) {
Expand Down
2 changes: 1 addition & 1 deletion react-swf.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 75faa48

Please sign in to comment.