Skip to content
Snippets Groups Projects
Commit 78149d0a authored by polesye's avatar polesye
Browse files

Add comment.

parent 8f013871
No related merge requests found
......@@ -234,6 +234,7 @@ class @MarkdownEditingDescriptor extends XModule.Descriptor
floatValue = parseFloat(answersList[0]);
if(!isNaN(floatValue)) {
// Tries to extract parameters from string like 'expr +- tolerance'
var params = /(.*?)\+\-\s*(.*?$)/.exec(answersList[0]),
answer = answersList[0].replace(/\s+/g, '');
if(params) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment