kogmbh/WebODF — pull request #786 by kossebau (2014-08-20 21:25:17+00:00)
Title: Compress the CSS in css2js.js, by removing comments & indentation

The file webodf.css is currently more or less directly converted into a string by css2js.js. Including the license header, all other comments and the indentation.

Based on heuristics and my little CSS syntax knowledge (so please better check) I propose to do some simple compression when creating the string. Spares some 5K bytes on webodf.js

Name | Size Before | Size After
--------|----------|-----
webodf/webodf.css.js| 16288 | 10929
webodf/webodf.js| 355267 | 349908