Skip to content

Commit

Permalink
Testing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
eHag-FRU committed Apr 15, 2024
1 parent 9440413 commit 941bb94
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/js/mainPlayer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
if (typeof module !== 'undefined' && module.exports) {
console.log('this script is running in Node.js');
require('../js/Rooms.js');
} else {
console.log('this script is not running in Node.js');
}
/**
*
* Player of the game - settings and other setup
Expand Down

0 comments on commit 941bb94

Please sign in to comment.