Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Return NameLoad orelse For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Index Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr keyword BoolOpOr AttributeLoad NameLoad attr Str keyword NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr NameLoad If NameLoad body Assign NameStore IfExp BoolOpAnd NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad Index Str Raise Call NameLoad Num Call AttributeLoad Call NameLoad Str attr NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpOr UnaryOpNot Call NameLoad NameLoad Str CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign SubscriptStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index NameLoad NameLoad decorator_list decorator_list
N/A N/A os jac.compat u jac.compressors.coffee CoffeeScriptCompressor jac.compressors.less LessCompressor jac.compressors.javascript JavaScriptCompressor jac.compressors.sass SassCompressor static_finder N/A N/A app N/A N/A find N/A N/A path N/A None N/A N/A N/A path None N/A N/A folders N/A set N/A blueprint N/A N/A N/A app blueprints values N/A N/A N/A N/A blueprint static_folder None N/A N/A N/A N/A folders update N/A N/A blueprint static_folder N/A N/A N/A folders update N/A N/A app static_folder N/A folders N/A N/A rule N/A N/A N/A app url_map iter_rules N/A N/A N/A . N/A rule endpoint N/A N/A with_blueprint True N/A blueprint N/A N/A app blueprints N/A N/A N/A N/A N/A rule endpoint rsplit . 1 N/A 0 N/A data N/A N/A rule match N/A N/A N/A u {subdomain}|{path} format subdomain N/A N/A blueprint subdomain path path N/A N/A with_blueprint False N/A data N/A N/A rule match N/A N/A N/A u |{0} format path N/A data N/A N/A static_folder N/A N/A with_blueprint N/A N/A blueprint static_folder None N/A blueprint static_folder N/A app static_folder N/A N/A N/A N/A os path join static_folder N/A data N/A filename N/A N/A IOError 2 N/A N/A N/A u File not found {0}. format path N/A N/A find N/A get_template_dirs N/A N/A app N/A N/A N/A folders N/A set N/A blueprint N/A N/A N/A app blueprints values N/A N/A N/A N/A blueprint template_folder None N/A N/A N/A N/A folders update N/A N/A blueprint template_folder N/A N/A N/A folders update N/A N/A app template_folder N/A folders N/A JAC N/A object N/A N/A Simple helper class for Jinja Assets Compressor. Has to be created in
    advance like a :class:`~flask.Flask` object.

    There are two usage modes which work very similar.  One is binding
    the instance to a very specific Flask application::

        app = Flask(__name__)
        jac = JAC(app)

    The second possibility is to create the object once and configure the
    application later to support it::

        jac = JAC()

        def create_app():
            app = Flask(__name__)
            jac.init_app(app)
            return app

    :param app: the application to register.
     __init__ N/A N/A self app N/A None N/A N/A N/A self app app N/A N/A app None N/A N/A N/A N/A self init_app app N/A init_app N/A N/A self app N/A N/A N/A N/A N/A N/A app jinja_env add_extension jac.CompressorExtension N/A N/A N/A app jinja_env compressor_enabled N/A N/A N/A app config get COMPRESSOR_ENABLED True N/A N/A N/A app jinja_env compressor_offline_compress N/A N/A N/A app config get COMPRESSOR_OFFLINE_COMPRESS False N/A N/A N/A app jinja_env compressor_follow_symlinks N/A N/A N/A app config get COMPRESSOR_FOLLOW_SYMLINKS False N/A N/A N/A app jinja_env compressor_debug N/A N/A N/A app config get COMPRESSOR_DEBUG False N/A N/A N/A app jinja_env compressor_output_dir N/A N/A N/A N/A app config get COMPRESSOR_OUTPUT_DIR N/A app static_folder N/A N/A N/A app jinja_env compressor_static_prefix N/A N/A N/A N/A app config get COMPRESSOR_STATIC_PREFIX N/A app static_url_path N/A N/A N/A app jinja_env compressor_classes N/A N/A N/A app config get COMPRESSOR_CLASSES N/A text/css text/coffeescript text/less text/javascript text/sass text/scss LessCompressor CoffeeScriptCompressor LessCompressor JavaScriptCompressor SassCompressor SassCompressor N/A N/A N/A app jinja_env compressor_source_dirs N/A static_finder app N/A set_compressor N/A N/A self mimetype compressor_cls N/A N/A N/A N/A N/A N/A hasattr self app N/A N/A self app None N/A N/A N/A RuntimeError Must initialize JAC with a Flask app first. N/A N/A N/A N/A N/A self app jinja_env compressor_classes N/A mimetype compressor_cls N/A N/A