# Path: app.py



import os
import sys
from functools import wraps
from app import app
# -*- coding: utf-8 -*-
"""
    decorators.before_request_for_coffeescript
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    app.before_request handlers for less and coffeescript
    http://flask.pocoo.org/snippets/94/
"""

sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.dirname(__file__))))



def _simple_processor(processor, ext_private, ext_public):
    if not request.path.endswith(ext_public):
        return

# Path: app.py



# Path: decorators/before_request_handler_for_coffeescript.py
import os
import sys
from functools import wraps
from app import app

# -*- coding: utf-8 -*-
"""
    decorators.before_request_for_coffeescript
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    app.before_request handlers for less and coffeescript
    http://flask.pocoo.org/snippets/94/
"""

sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.dirname(__file__))))



def _simple_processor(processor, ext_private, ext_public):
    if not request.path.endswith(ext_public):
        return

    public_file = request.path[len(config.app.static_url_path) + 1:]