Install this xblock on this branch into the edxapp Python virtualenv.
# In the same directory as your Vagrantfile:
vagrant ssh -- sudo -u edxapp /edx/bin/pip.edxapp install -e git+https://github.com/open-craft/xblock-vectordraw.git@bdero/port-sven-changes#egg=vectordraw-xblock
Run Studio
Navigate to a course, and then "Settings > Advanced Settings".
Update the "Advanced Module List" field to contain ["vectordraw"].
Click "Save Changes".
Navigate to the outline and create a new Section, Subsection, and Unit. You will be redirected to the Unit authoring view.
Select "Advanced > Vector Drawing" to create a new Vector Drawing problem.
This is a port of the fix to the implicit casting problem as discussed in https://github.com/open-craft/jsinput-vectordraw/pull/24. @itsjeyd
Testing instructions:
Install this xblock on this branch into the edxapp Python virtualenv.
["vectordraw"]
.Set the "Vectors" field with the following block:
Set the "Expected result" field to the following block: