def jsonp(func):
    @wraps(func)
    def decorated(*args, **kwargs):
        callback = request.args.get('callback', False)
        if callback:
            data = str(func(*args, **kwargs).data)
            content = str(callback) + '(' + data + ')'
            mimetype = 'application/javascript'
            return current_app.response_class(content, mimetype=mimetype)
        else:
            return func(*args, **kwargs)
    return decorated
:return: A list of all variables in this object.
dataset/ETHPy150Open guardian/alerta/alerta/app/utils.py/jsonp--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/sem/logic.py/SubstituteBindingsI.variables