diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-05-22 17:50:53 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-05-22 17:50:53 +0200 |
commit | 65647a77cf355db5f8553669e8666eb5639ad689 (patch) | |
tree | 9bb88fca41ace0cfd7fe54f5fe9d50f7480f10ab /js/codeq/problem_list.js | |
parent | 28316a2665f2c40b03a638e54dfdab925ccf4623 (diff) |
Add support for per-problem initial code
Diffstat (limited to 'js/codeq/problem_list.js')
-rw-r--r-- | js/codeq/problem_list.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/codeq/problem_list.js b/js/codeq/problem_list.js index a281afb..0070edb 100644 --- a/js/codeq/problem_list.js +++ b/js/codeq/problem_list.js @@ -363,6 +363,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ 'problem': problem, 'id': rawData.id, 'translations': convertTranslations(rawTranslations, 'title', 'name', 'slug', 'description'), // GUI translations: keyword -> lang -> value + 'initial': rawData.initial, 'hint': processHints(rawTranslations), // hint translations: keyword -> lang -> value 'plan': processPlans(rawTranslations), // plan translations: keyword -> lang -> value 'hint_type': rawData.hint_type || {} |