Skip to content

Commit

Permalink
remove .js suffix in require statements in js files, phetsims/chipper…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Nov 14, 2024
1 parent 5e7f3bd commit 11bdf90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions js/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
*/


const createHTMLString = require( './createHTMLString.js' );
const createHTMLString = require( './createHTMLString' );
const fs = require( 'fs' );
const fsExtra = require( 'fs-extra' );
const getFromSimInMain = require( './getFromSimInMain.js' );
const getFromSimInMain = require( './getFromSimInMain' );

// resolve image and doc paths as constants

Expand Down
2 changes: 1 addition & 1 deletion js/getFromSimInMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const _ = require( 'lodash' );
const assert = require( 'assert' );
const fs = require( 'fs' );
const puppeteer = require( 'puppeteer' );
const withServer = require( '../../perennial/js/common/withServer.js' );
const withServer = require( '../../perennial/js/common/withServer' );

// Helper function to get the sim list from perennial
const getSims = function() {
Expand Down

0 comments on commit 11bdf90

Please sign in to comment.