summaryrefslogtreecommitdiff
path: root/js/codeq
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-04-24 14:56:21 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-04-24 14:56:21 +0200
commit534447bf8cbe043c99ca3ac1bb2907a6b375c190 (patch)
treeea2e70e4c060685535e8c91fd2425b2c328f11ff /js/codeq
parentd5de581bc54c8dcf17e7e2c3fe72165b77e22c3e (diff)
Revert "Experiment: add "teacher helped" link to Prolog screen"
This reverts commit 982522b5b9dfc39c10d08129b873aadf77b7293f.
Diffstat (limited to 'js/codeq')
-rw-r--r--js/codeq/prolog.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/js/codeq/prolog.js b/js/codeq/prolog.js
index 62effd1..b0e8ebf 100644
--- a/js/codeq/prolog.js
+++ b/js/codeq/prolog.js
@@ -23,10 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
jqAllButtons = jqBtnPlan.add(jqBtnTest), // all the buttons
prologHandler; // created when we enter the prolog state and destroyed once we leave it
- // experiment: Prolog hints
- var jqTeacherHelp = jqScreen.find('.teacher-help');
- // end of experiment: Prolog hints
-
var enterFun = function(problemDef, commonDef, currentSolution) {
$('#navigation-problem-list').css('display', '');
var navigationProlog = $("#navigation-prolog");
@@ -52,11 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
.done();
},
'exit': function () {
- // experiment: Prolog hints
- jqTeacherHelp.find('a').off('click');
- jqTeacherHelp.hide();
- // end of experiment: Prolog hints
-
jqScreen.css('display', 'none');
if (prologHandler) prologHandler.destroy();
prologHandler = null;
@@ -254,15 +245,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
.done();
});
- // experiment: Prolog hints
- jqTeacherHelp.find('a').on('click', function(e) {
- e.preventDefault();
- activityHandler.queueTrace({'typ': 'experiment', 'data': 'teacher help'});
- jqTeacherHelp.hide();
- });
- jqTeacherHelp.show();
- // end of experiment: Prolog hints
-
codeq.comms.loadProblem(problemDef.id).done();
activityHandler.queueTrace({
'typ': 'open',