浏览代码

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',