Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed lms/djangoapps/circuit/__init__.py
Empty file.
10 changes: 0 additions & 10 deletions lms/djangoapps/circuit/models.py

This file was deleted.

65 changes: 0 additions & 65 deletions lms/djangoapps/circuit/views.py

This file was deleted.

1 change: 0 additions & 1 deletion lms/envs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,6 @@
'static_replace',

# Our courseware
'circuit',
'courseware',
'student',

Expand Down
9 changes: 0 additions & 9 deletions lms/static/coffee/src/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ $ ->
if $('body').hasClass('courseware')
Courseware.start()

# Preserved for backward compatibility
window.submit_circuit = (circuit_id) ->
$("input.schematic").each (index, el) ->
el.schematic.update_value()

schematic_value $("#schematic_#{circuit_id}").attr("value")
$.postWithPrefix "/save_circuit/#{circuit_id}", schematic: schematic_value, (data) ->
alert('Saved') if data.results == 'success'

window.postJSON = (url, data, callback) ->
$.postWithPrefix url, data, callback

Expand Down
8 changes: 0 additions & 8 deletions lms/templates/edit_circuit.html

This file was deleted.

3 changes: 0 additions & 3 deletions lms/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,6 @@

# TODO: These views need to be updated before they work
url(r'^calculate$', 'util.views.calculate'),
# TODO: We should probably remove the circuit package. I believe it was only used in the old way of saving wiki circuits for the wiki
# url(r'^edit_circuit/(?P<circuit>[^/]*)$', 'circuit.views.edit_circuit'),
# url(r'^save_circuit/(?P<circuit>[^/]*)$', 'circuit.views.save_circuit'),

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was my original inspiration.

url(r'^courses/?$', 'branding.views.courses', name="courses"),
url(r'^change_enrollment$',
Expand Down