Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 5bc9de5

Browse files
committed
add bookfuncs to every page
1 parent 9df9f8f commit 5bc9de5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

webpack.index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import "./runestone/common/project_template/_templates/plugin_layouts/sphinx_boo
3838
import "./runestone/common/css/runestone-custom-sphinx-bootstrap.css";
3939

4040
// Misc
41+
import "./runestone/common/js/bookfuncs.js";
4142
import "./runestone/common/js/user-highlights.js";
4243

4344
// These belong in dynamic imports for the obvious component; however, these components don't include a ``data-component`` attribute.
@@ -95,7 +96,7 @@ export function runestone_auto_import() {
9596
$("[data-component]").map(
9697
// Extract the value of the data-component attribute.
9798
(index, element) => $(element).attr("data-component")
98-
// Switch from a jQuery object back to an array, passing that to the Set constructor.
99+
// Switch from a jQuery object back to an array, passing that to the Set constructor.
99100
).get()
100101
);
101102

0 commit comments

Comments
 (0)