diff options
author | Michael Hamann <michael@content-space.de> | 2012-09-18 21:57:56 +0200 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2012-09-18 22:15:50 +0200 |
commit | 14977bd2edded61cecdc10116826eef384777e82 (patch) | |
tree | 1e12b5ccb232980635f72a557300b40c6f6b6b12 /lib/scripts/textselection.js | |
parent | bd4e4c94416613145edca00156831fb283024684 (diff) | |
download | rpg-14977bd2edded61cecdc10116826eef384777e82.tar.gz rpg-14977bd2edded61cecdc10116826eef384777e82.tar.bz2 |
Fix CSS cache handling and CSS output
This fixes several problems:
- the CSS cache was only updated when either the CSS files for all media
types or one of the global files was modified
- when only the screen CSS was changed, the screen CSS was regenerated
but then the cache was printed which either caused duplicated screen
CSS output when gzip output was disabled or invalid output with gzip
enabled as first the plain text screen CSS and then the
gzip-compressed cache file was printed
Now first all CSS files are collected, then the cache is checked once
and only after this the CSS content is collected.
Diffstat (limited to 'lib/scripts/textselection.js')
0 files changed, 0 insertions, 0 deletions