From 9c780c9c65e37f611572c2675ba2be07100d0a1a Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Mon, 18 Sep 2017 07:23:47 -0700 Subject: [PATCH] Fix requestAnimationFrame case for SSR --- source/utils/animationFrame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils/animationFrame.js b/source/utils/animationFrame.js index 863d7f766..fe547fa5a 100644 --- a/source/utils/animationFrame.js +++ b/source/utils/animationFrame.js @@ -11,7 +11,7 @@ if (typeof window !== "undefined") { } else if (typeof self !== "undefined") { win = self; } else { - win = this; + win = {}; } // requestAnimationFrame() shim by Paul Irish