Skip to content

Commit c28d04d

Browse files
Remove isRunnableListing function from loadRunnableListings
1 parent 57923c5 commit c28d04d

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

EssentialCSharp.Web/wwwroot/js/trydotnet-module.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -93,17 +93,6 @@ function loadRunnableListings() {
9393
return _runnableListingsPromise;
9494
}
9595

96-
/**
97-
* Checks whether a listing is present in the curated runnable set.
98-
* @param {string|number} chapter
99-
* @param {string|number} listing
100-
* @returns {Promise<boolean>}
101-
*/
102-
async function isRunnableListing(chapter, listing) {
103-
const set = await loadRunnableListings();
104-
return set.has(`${parseInt(chapter, 10)}.${parseInt(listing, 10)}`);
105-
}
106-
10796
/**
10897
* Strips #region / #endregion directive lines (INCLUDE, EXCLUDE, etc.)
10998
* from source code while keeping the code between them intact.

0 commit comments

Comments
 (0)