##// END OF EJS Templates
Backport PR #8176: Fixes bug that would show "null" as the reason in the don't leave dialog...
Backport PR #8176: Fixes bug that would show "null" as the reason in the don't leave dialog IE treats null as a string and displays it. Instead simply return. Fix verified in Chrome, FireFox, and IE 10.

File last commit:

r17765:7c1173bb
r20974:a103627a
Show More
__init__.py
15 lines | 334 B | text/x-python | PythonLexer
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