Skip to content

Commit

Permalink
Merge pull request airbnb#905 from nadnad/nadnad-fix-ssr
Browse files Browse the repository at this point in the history
Fix SSR rendering refs airbnb#440
  • Loading branch information
bodymovin authored Apr 23, 2018
2 parents cdca90f + 8c7b316 commit 5c43ee4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/player/lottie.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function(root, factory) {
(typeof navigator !== "undefined") && (function(root, factory) {
if (typeof define === "function" && define.amd) {
define(function() {
return factory(root);
Expand Down
2 changes: 1 addition & 1 deletion build/player/lottie.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/player/lottie_light.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function(root, factory) {
(typeof navigator !== "undefined") && (function(root, factory) {
if (typeof define === "function" && define.amd) {
define(function() {
return factory(root);
Expand Down
2 changes: 1 addition & 1 deletion build/player/lottie_light.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions player/js/module.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function(root, factory) {
(typeof navigator !== "undefined") && (function(root, factory) {
if (typeof define === "function" && define.amd) {
define(function() {
return factory(root);
Expand Down Expand Up @@ -174,4 +174,4 @@
}
var readyStateCheckInterval = setInterval(checkReady, 100);
return lottiejs;
}));
}));

0 comments on commit 5c43ee4

Please sign in to comment.