Note in claim-cs1010x-ay1516s2.js, the line $.getScript(core_script)
will only work correctly if jquery is included. Now jquery can be easily included using a plugin like Javascript Library for Console
- Use
generate_js.py
to first generate the javascript code from your input csv, to be plugged intoclaim-cs1010x-ay1516s2.js
. - Make sure you are on https://mysoc.nus.edu.sg/~tssclaim/tutor/teach_claim.php page and the aforementioned plugin is configured to load jquery.
- Now, open the javascript console of your browser and copy-paste entire
claim-cs1010x-ay1516s2.js
with the newly plugged-in code. Enter info in the prompts. After that on console, call the functionc.makeAllClaims();
. Be patient as this might take some time. Note that the function callc.makeAllClaims();
this is currently commented inclaim-cs1010x-ay1516s2.js
.