Преглед изворни кода

Merge pull request #20822 from linbingquan/dev-fix-lottieloader

LottieLoader: Ignore eslint error.
Mr.doob пре 4 година
родитељ
комит
3a802fd2c1
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      examples/jsm/loaders/LottieLoader.js

+ 1 - 0
examples/jsm/loaders/LottieLoader.js

@@ -36,6 +36,7 @@ class LottieLoader extends Loader {
 			container.style.height = data.h + 'px';
 			document.body.appendChild( container );
 
+			// eslint-disable-next-line no-undef
 			const animation = bodymovin.loadAnimation( {
 				container: container,
 				animType: 'canvas',