X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/8411d228c0928c0a2d6c280a2f39adacc972ee13..bb856bb163a586641fe9f6edf7723d3d905f2dfb:/src/wlxml/extensions/edumed/edumed.js?ds=sidebyside diff --git a/src/wlxml/extensions/edumed/edumed.js b/src/wlxml/extensions/edumed/edumed.js index ca29ad3..8c7472c 100644 --- a/src/wlxml/extensions/edumed/edumed.js +++ b/src/wlxml/extensions/edumed/edumed.js @@ -9,7 +9,8 @@ var _ = require('libs/underscore'), 'choice.single': require('libs/text!./choiceSingle.xml'), 'choice.true-or-false': require('libs/text!./choiceTrueOrFalse.xml'), gap: require('libs/text!./gaps.xml'), - replace: require('libs/text!./replace.xml') + replace: require('libs/text!./replace.xml'), + match: require('libs/text!./match.xml') }; var Item = function(node, exerciseNode) { @@ -212,7 +213,7 @@ extension.wlxmlClass['exercise.choice.true-or-false'] = { methods: choiceMethods }; -extension.wlxmlClass['exercise.gap'] = extension.wlxmlClass['exercise.replace'] = { +extension.wlxmlClass['exercise.gap'] = extension.wlxmlClass['exercise.replace'] = extension.wlxmlClass['exercise.match'] = { methods: { isContextRoot: function(node) { return this.sameNode(node);