##// END OF EJS Templates
Merge pull request #1710 from minrk/mathjaxcdn...
Merge pull request #1710 from minrk/mathjaxcdn update MathJax CDN url for https As discussed on mathjax-users, the MathJax CDN is moving. This doesn't affect mathjax from http, which just uses cdn.mathjax.org, but for SSL-certiificates the actual CDN url must be used (formerly cloudfront, now rackcdn). Also, forgo gethostbyname_ex hack, that was me solving a theoretical problem that could not officially happen. 0.12-series is unaffected, as the https-cdn hack was not backported to 0.12.1.

File last commit:

r6183:26a70f4b
r6746:51b84c88 merge
Show More
daft_extension.py
12 lines | 285 B | text/x-python | PythonLexer
# -*- coding: utf-8 -*-
"""
Useless IPython extension to test installing and loading extensions.
"""
some_vars = {'arq': 185}
def load_ipython_extension(ip):
# set up simplified quantity input
ip.push(some_vars)
def unload_ipython_extension(ip):
ip.drop_by_id(some_vars)