Commits

Javier Novoa C. committed bd00808

Adding yui-min.js as a file in local server, instead of looking for it
at Yahoo!, just as the other js libraries loaded (jquery)

Comments (0)

Files changed (1)

 
 # These line(s) of text will be placed at the end of the HTML served by Django.
 html_suffix_text = ('<script type="text/javascript" '
-                    'src="http://yui.yahooapis.com/3.2.0/build/yui/'
-                    'yui-min.js"></script>\n'
+                    'src="%syui-min-3.2.0.js"></script>\n'
                     '<script type="text/javascript" src="%s"></script>\n') % \
-                    js_file
+                    (media_url, js_file)
 
 if mathjax_file:
     html_suffix_text += ('<script type="text/javascript" src="%s"></script>\n'