Skip to content

Commit cf4da88

Browse files
remove test function
1 parent 94121a4 commit cf4da88

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

pages.html

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -440,30 +440,6 @@
440440
// Add a random version to prevent caching
441441
console.log('Loading page editor v' + Math.random())
442442

443-
/* ---------------------------------------------------------------- */
444-
/* - TEST FUNCTIONS - */
445-
/* ---------------------------------------------------------------- */
446-
// Test the filename conversion
447-
function testFilenameConversion() {
448-
const testCases = [
449-
'project/test',
450-
'foo/bar/baz',
451-
'test-page',
452-
'another_test'
453-
]
454-
455-
console.log('======= TESTING FILENAME CONVERSION =======')
456-
testCases.forEach(test => {
457-
console.log(
458-
`Original: "${test}" -> Converted: "${test.replace(/\//g, '___')}"`
459-
)
460-
})
461-
console.log('==========================================')
462-
}
463-
464-
// Run the test immediately
465-
testFilenameConversion()
466-
467443
/* ---------------------------------------------------------------- */
468444
/* - IMPORTS & SETUP - */
469445
/* ---------------------------------------------------------------- */

0 commit comments

Comments
 (0)