Browse Source

fix(LottieLoader): Ignore eslint error.

linbingquan 4 năm trước cách đây
mục cha
commit
08a8c37606
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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',