You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 7, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: runestone/common/js/runestonebase.js
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -61,10 +61,10 @@ export default class RunestoneBase {
61
61
});
62
62
}
63
63
64
-
// .. _logBookEvent:
65
-
//
66
-
// logBookEvent
67
-
// ------------
64
+
// .. _logBookEvent:
65
+
//
66
+
// logBookEvent
67
+
// ------------
68
68
// This function sends the provided ``eventInfo`` to the `hsblog endpoint` of the server. Awaiting this function returns either ``undefined`` (if Runestone services are not available) or the data returned by the server as a JavaScript object (already JSON-decoded).
69
69
asynclogBookEvent(eventInfo){
70
70
if(this.graderactive){
@@ -100,10 +100,10 @@ export default class RunestoneBase {
100
100
returnpost_return;
101
101
}
102
102
103
-
// .. _logRunEvent:
104
-
//
105
-
// logRunEvent
106
-
// -----------
103
+
// .. _logRunEvent:
104
+
//
105
+
// logRunEvent
106
+
// -----------
107
107
// This function sends the provided ``eventInfo`` to the `runlog endpoint`. When awaited, this function returns the data (decoded from JSON) the server sent back.
108
108
asynclogRunEvent(eventInfo){
109
109
letpost_promise="done";
@@ -122,8 +122,8 @@ export default class RunestoneBase {
0 commit comments