controllers/game/m_y_m_controller.js

  1. import { Controller } from "@hotwired/stimulus"
  2. /**
  3. * @class Game.MYMController
  4. * @classdesc Stimulus controller for /game/make-your-mark.
  5. * @extends Controller
  6. */
  7. export default class MYMController extends Controller {
  8. /**
  9. * Add a performance mark with the path of the next puzzle
  10. * Type `performance.getEntriesByType("mark")` in the console and you will get the next path.
  11. *
  12. * @instance
  13. * @memberof Game.MYMController
  14. * @returns {void} N/A
  15. * */
  16. connect() {
  17. performance.mark("/game/responsive-design/")
  18. }
  19. }