diff --git a/src/Tween.js b/src/Tween.js index 02fc5ca8..461241d8 100644 --- a/src/Tween.js +++ b/src/Tween.js @@ -864,7 +864,7 @@ TWEEN.Interpolation = { // Node.js module.exports = TWEEN; - } else { + } else if (root !== undefined) { // Global variable root.TWEEN = TWEEN;