Spit css and javascript blocks.

see #585
This commit is contained in:
Antoine Nguyen
2014-10-20 09:37:25 +02:00
parent 196ef6f6c0
commit f3dbae14e8
18 changed files with 135 additions and 92 deletions
+4 -1
View File
@@ -629,10 +629,13 @@ template but need javascript stuff.
*Callback prototype*::
def callback(caller, user): pass
def callback(caller, st_type, user): pass
* ``caller`` is name of the application (or the location) responsible
for the call
* ``st_type`` is the expected static content type (``css`` or ``js``)
* ``user`` is a ``User`` instance corresponding to the currently
logged in user