File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11import { Options } from "./types" ;
22import { PrivateOptions } from "./webampLazy" ;
33import Webamp from "./webamp" ;
4- import "butterchurn/dist/butterchurn.min.js" ; // buterchurn@3.0.0-beta.4
5- import "butterchurn-presets/dist/base.js" ; // butterchurn-presets@3.0.0-beta.4
6-
74// @ts -ignore
8- const butterchurn = window . butterchurn ;
5+ import butterchurn from " butterchurn/dist/butterchurn.min.js" ; // buterchurn@3.0.0-beta.4
96// @ts -ignore
10- const butterchurnPresets = window . base . default ;
7+ import butterchurnPresets from "butterchurn-presets/dist/base.js" ; // butterchurn-presets@3.0.0-beta.4
8+
9+ console . log ( "Using butterchurn" , butterchurn ) ;
10+ console . log ( "Using butterchurn presets" , butterchurnPresets ) ;
1111
1212export default class WebampWithButterchurn extends Webamp {
1313 constructor ( options : Options & PrivateOptions ) {
You can’t perform that action at this time.
0 commit comments