Test sending LA events to openhpi
This commit is contained in:
@ -310,14 +310,14 @@ $(function() {
|
|||||||
//console.log("Text is the same: " + same);
|
//console.log("Text is the same: " + same);
|
||||||
|
|
||||||
// if the text is not copied from within the editor (from any file), send an event to lanalytics
|
// if the text is not copied from within the editor (from any file), send an event to lanalytics
|
||||||
//if(!same){
|
if(!same){
|
||||||
// publishCodeOceanEvent("codeocean_editor_paste", {
|
publishCodeOceanEvent("codeocean_editor_paste", {
|
||||||
// text: pasteObject.text,
|
text: pasteObject.text,
|
||||||
// exercise: $('#editor').data('exercise-id'),
|
exercise: $('#editor').data('exercise-id'),
|
||||||
// file_id: "1"
|
file_id: "1"
|
||||||
//
|
|
||||||
// });
|
});
|
||||||
//}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var handleScoringResponse = function(response) {
|
var handleScoringResponse = function(response) {
|
||||||
|
Reference in New Issue
Block a user