Commit 7103bd00 by Rocky Duan

moved vendor js files to common

parent 63633ae1
$ -> $ ->
converter = Markdown.getSanitizingConverter() converter = Markdown.getSanitizingConverter()
editor = new Markdown.Editor(converter) editor = new Markdown.Editor(converter)
converter.hooks.chain "preConversion", removeMath #converter.hooks.chain "preConversion", removeMath
editor.run() editor.run()
...@@ -8,6 +8,9 @@ ...@@ -8,6 +8,9 @@
</%block> </%block>
<%block name="js_extra"> <%block name="js_extra">
<script type="text/javascript" src="${static.url('js/vendor/Markdown.Converter.js')}"></script>
<script type="text/javascript" src="${static.url('js/vendor/Markdown.Sanitizer.js')}"></script>
<script type="text/javascript" src="${static.url('js/vendor/Markdown.Editor.js')}"></script>
</%block> </%block>
<%include file="../course_navigation.html" args="active_page='discussion'" /> <%include file="../course_navigation.html" args="active_page='discussion'" />
......
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