Browse Source

fix(LottieLoader): Ignore eslint error.

linbingquan 4 years ago
parent
commit
08a8c37606
1 changed files with 1 additions and 0 deletions
  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';
 			container.style.height = data.h + 'px';
 			document.body.appendChild( container );
 			document.body.appendChild( container );
 
 
+			// eslint-disable-next-line no-undef
 			const animation = bodymovin.loadAnimation( {
 			const animation = bodymovin.loadAnimation( {
 				container: container,
 				container: container,
 				animType: 'canvas',
 				animType: 'canvas',