Skip to content

Commit

Permalink
live branch
Browse files Browse the repository at this point in the history
  • Loading branch information
learyjk committed Oct 2, 2024
1 parent bf792a4 commit 898f4bc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/webflow/Card.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TRANSITION_DURATION } from "./constants.js";
import { TRANSITION_DURATION } from "https://cdn.jsdelivr.net/gh/Web-Bae/06-modules@1/src/webflow/constants.js";

export default class Card {
constructor(emoji, element) {
Expand Down
6 changes: 3 additions & 3 deletions src/webflow/GameBoard.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Card from "./Card.js";
import { TRANSITION_DURATION } from "./constants.js";
import { shuffleArray } from "./utils.js";
import Card from "https://cdn.jsdelivr.net/gh/Web-Bae/06-modules@1/src/webflow/Card.js";
import { TRANSITION_DURATION } from "https://cdn.jsdelivr.net/gh/Web-Bae/06-modules@1/src/webflow/constants.js";
import { shuffleArray } from "https://cdn.jsdelivr.net/gh/Web-Bae/06-modules@1/src/webflow/utils.js";

export default class GameBoard {
constructor(emojis) {
Expand Down
4 changes: 2 additions & 2 deletions src/webflow/GameController.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import GameBoard from "./GameBoard.js";
import { EIGHT_EMOJIS_ARRAY } from "./constants.js";
import GameBoard from "https://cdn.jsdelivr.net/gh/Web-Bae/06-modules@1/src/webflow/GameBoard.js";
import { EIGHT_EMOJIS_ARRAY } from "https://cdn.jsdelivr.net/gh/Web-Bae/06-modules@1/src/webflow/constants.js";

export default class GameController {
constructor() {
Expand Down
2 changes: 1 addition & 1 deletion src/webflow/main.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import GameController from "./GameController.js";
import GameController from "https://cdn.jsdelivr.net/gh/Web-Bae/06-modules@1/src/webflow/GameController.js";

document.addEventListener("DOMContentLoaded", () => {
new GameController();
Expand Down

0 comments on commit 898f4bc

Please sign in to comment.