This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +2
-22
lines changed
Expand file tree Collapse file tree 4 files changed +2
-22
lines changed Original file line number Diff line number Diff line change 88=== Isaiah Mayerchak ===
99=== 7/1/15 ===
1010==========================================*/
11- function RunestoneBase ( ) { // Basic parent stuff
12-
13- }
14- RunestoneBase . prototype . logBookEvent = function ( info ) {
15- console . log ( "logging event " + this . divid ) ;
16- } ;
17- RunestoneBase . prototype . logRunEvent = function ( info ) {
18- console . log ( "running " + this . divid ) ;
19- } ;
20-
2111var CAList = { } ; // Dictionary that contains all instances of ClickableArea objects
2212
2313
Original file line number Diff line number Diff line change 99=== 6/8/15 ===
1010==========================================*/
1111
12- function RunestoneBase ( ) { // Basic parent stuff
13-
14- }
15- RunestoneBase . prototype . logBookEvent = function ( info ) {
16- console . log ( "logging event " + this . divid ) ;
17- } ;
18- RunestoneBase . prototype . logRunEvent = function ( info ) {
19- console . log ( "running " + this . divid ) ;
20- } ;
21-
2212var dfList = { } ; // Dictionary that contains all instances of Datafile objects
2313
2414
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ function submitPoll(div_id) {
1818 var eventInfo = { 'event' :'poll' , 'act' :act , 'div_id' :div_id } ;
1919
2020 // log the response to the database
21- logBookEvent ( eventInfo ) ; // in bookfuncs.js
21+ this . logBookEvent ( eventInfo ) ; // in bookfuncs.js
2222
2323 // log the fact that the user has answered the poll to local storage
2424 localStorage . setItem ( div_id , "true" ) ;
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ function submitJournal(directive_id) {
4040 function(data) {
4141 console.log(data.message);
4242 }); */
43- logBookEvent ( { 'event' : 'shortanswer' , 'act' : JSON . stringify ( value ) , 'div_id' : directive_id } ) ;
43+ this . logBookEvent ( { 'event' : 'shortanswer' , 'act' : JSON . stringify ( value ) , 'div_id' : directive_id } ) ;
4444}
4545
4646
You can’t perform that action at this time.
0 commit comments