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

Commit cb09d4b

Browse files
committed
test adding runestone class
1 parent f15c831 commit cb09d4b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

runestone/hparsons/hparsons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def setup(app):
3737

3838

3939
TEMPLATE_START = """
40-
<div>
40+
<div class="runestone">
4141
<div data-component="hparsons" id=%(divid)s data-question_label="%(question_label)s" class="alert alert-warning hparsons_section">
4242
<div class="hp_question col-md-12">
4343
"""

runestone/hparsons/js/hparsons-sql.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export default class SQLHParons extends RunestoneBase {
7575

7676
// copied from activecode, already modified to add parsons
7777
createEditor() {
78+
console.log('test create editor hparsons')
7879
this.outerDiv = document.createElement("div");
7980
$(this.origElem).replaceWith(this.outerDiv);
8081
let parsonsHTML = `<horizontal-parsons id='${this.divid}-hparsons'`;

0 commit comments

Comments
 (0)