Commit 0448ef5e by Vasyl Nakvasiuk

add docstring

parent fbc8d0e9
...@@ -28,9 +28,16 @@ class ConditionalModule(XModule): ...@@ -28,9 +28,16 @@ class ConditionalModule(XModule):
<video url_name="secret_video" /> <video url_name="secret_video" />
</conditional> </conditional>
TODO string comparison <conditional> tag attributes:
multiple answer for every poll sources - location id of required modules, separated by ';'
completed - map to `is_completed` module method
attempted - map to `is_attempted` module method
poll_answer - map to `poll_answer` module attribute
voted - map to `voted` module attribute
<conditional> tag attributes:
sources - location id of modules, separated by ';'
""" """
js = {'coffee': [resource_string(__name__, 'js/src/javascript_loader.coffee'), js = {'coffee': [resource_string(__name__, 'js/src/javascript_loader.coffee'),
......
Markdown is supported
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