cyberdelia/django-pipeline — Issue #67: why wrap js files in an closure function
Author: UniIsland
Created: 2012-01-10 07:50:48+00:00
State: open

line 56 of pipeline/compressors/__init__.py
https://github.com/cyberdelia/django-pipeline/blob/master/pipeline/compressors/__init__.py#L56

this makes all my global variables and function inaccessible from my html code. unless i make all of them attributes of `window` explicitly.
why can't we just concat them instead of enclosing them into a anonymous function?