Widget:Sandbox: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 600: | Line 600: | ||
}, | }, | ||
score : function(){ | score : function(){ | ||
var obj = getRating("difficulty", exam.examQuestions[exam.currentQuestion].PageName); | var obj = $(document).getRating("difficulty", exam.examQuestions[exam.currentQuestion].PageName); | ||
console.log(obj); | console.log(obj); | ||
return obj.d; | return obj.d; |