Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
Require to have .js extension to be able to load them in the browser of
we get a mime type error.
  • Loading branch information
mauriciofierrom committed Mar 14, 2024
1 parent 3071473 commit 2c41039
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/javascript/controllers/player_controller.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"use strict";

import { Controller } from "@hotwired/stimulus";
import YoutubePlayer from "./player/youtube_player";
import { PlayingState, ReadyState, EditingState, PickingPointState } from "./player/state";
import LoopManager from "./player/loop_manager"
import YoutubePlayer from "./player/youtube_player.js";
import { PlayingState, ReadyState, EditingState, PickingPointState } from "./player/state.js";
import LoopManager from "./player/loop_manager.js"

/** Controller for the YouTube player custom functionality */
export default class extends Controller {
Expand Down

0 comments on commit 2c41039

Please sign in to comment.