Commit fdaadd13 authored by Remon Huijts's avatar Remon Huijts Committed by Maarten de Waard
Browse files

Improve README, remove unused debug vars

parent 37f1d57a
Pipeline #13805 passed with stages
in 55 seconds
......@@ -139,14 +139,14 @@ the application is delivered in, containing the html files for that locale.
Adding the problem to a course
------------------------------
You can add a problem by including them in an iFrame.
You can add a problem by including it in an iFrame.
- Add New Component: **Problem**
- Click on **HTML**
- Click on **Edit**
- Click the **HTML** button in the editor, so you can paste raw HTML.
- Now, you need to paste the contents from this repository's
``examples/<your-problem.html>.html`` into the editor.
``examples/<your-problem>.html`` into the editor.
- Make sure the ``src`` attribute contains a link to the locale your course is
in (``//totem-project.org/js-components/<locale>/<problem>``).
......
......@@ -26,5 +26,4 @@ html
script(type="text/javascript").
'use strict';
var inputElement = document.getElementById("password");
var debug = #{debug};
pwcheck(inputElement);
......@@ -257,8 +257,6 @@ html
script(type="text/javascript").
'use strict';
var inputElement = document.getElementById("password");
var showHints = true;
var debug = #{debug};
// Skipping the check where the password problem is untranslated
if ('#{locale}' != 'ru') {
pwcheck(inputElement);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment