##// END OF EJS Templates
protect javascript from invalid mime-type data...
protect javascript from invalid mime-type data everything is a string, if anything else is sent, drop it so it doesn't show up in the notebook document.

File last commit:

r13582:b21d447e
r14155:570aeb48
Show More
__init__.py
15 lines | 333 B | text/x-python | PythonLexer
MinRK
add appnope to external
r13582
try:
from appnope import *
except ImportError:
__version__ = '0.0.5'
import sys
import platform
from distutils.version import LooseVersion as V
if sys.platform != "darwin" or V(platform.mac_ver()[0]) < V("10.9"):
from _dummy import *
else:
from ._nope import *
del sys, platform, V