Commit 0dad0592 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

jQuery3: adding migration tool for debugging

this will output error logs in the browser console
for lines that need to be changed to use jQuery 3

abandon this patch after testing is done

Change-Id: I51ffd676e1db4a9b11d8fff0a0845da0f43882e7
parent 46ac2ef6
......@@ -218,6 +218,7 @@ function smarty($javascript = array(), $headers = array(), $pagestrings = array(
// Make jQuery accessible with $j (Mochikit has $)
$javascript_array[] = $jsroot . 'jquery/jquery.js';
$headers[] = '<script type="application/javascript">$j=jQuery;</script>';
$headers[] = '<script src=""></script>';
// If necessary, load MathJax configuration
if (get_config('mathjax')) {
Supports Markdown
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