Module: Compress output using Minify
Posted by Maurice Makaay
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
compress_minify-1.0.0.tar.gz | 9.1 KB | open | download | Maurice Makaay | 03/13/2009 | Read message |
compress_minify-1.0.0.zip | 11.7 KB | open | download | Maurice Makaay | 03/13/2009 | Read message |
Module: Compress output using Minify March 13, 2009 12:50PM |
Admin Registered: 19 years ago Posts: 8,532 |
This module compresses the Phorum HTML, CSS and JavaScript output
using tools from the Minify package. For information on Minify,
take a look at http://code.google.com/p/minify/
Note: for CSS compression to work, you need Phorum 5.2.11 or later.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
using tools from the Minify package. For information on Minify,
take a look at http://code.google.com/p/minify/
Note: for CSS compression to work, you need Phorum 5.2.11 or later.
Changelog: ---------- 2009-03-13 v1.0.0 - Initial release.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Compress output using Minify March 13, 2009 05:13PM |
Registered: 15 years ago Posts: 9 |
Re: Module: Compress output using Minify March 24, 2009 07:00PM |
Registered: 15 years ago Posts: 753 |
I believe that the Minify module is causing this error in my installation. I hope the following info is helpful! Thanks!
invalid label
[Break on this error] c:{'\b':'b','\t':'t','\n':'n','\f':'f','...g with length === 2 for date convertion\n
ajax.php?client (line 132)
// Based on byteson by Andrea Giammarchi
128// (http://www.devpro.it/byteson/)
129// ======================================================================Phorum.JSON = {};Phorum.JSON.common =
130{
131// characters object, useful to convert some char in a JSON compatible way
132c:{'\b':'b','\t':'t','\n':'n','\f':'f','\r':'r','"':'"','\\':'\\','/':'/'},// decimal function, returns a string with length === 2 for date convertion
133d:function(n){return n < 10 ? '0'.concat(n) : n},// integer function, returns integer value from a piece of string
134i:function(e, p, l){return parseInt(e.substr(p, l))},// slash function, add a slash before a common.c char
135s
invalid label
[Break on this error] c:{'\b':'b','\t':'t','\n':'n','\f':'f','...g with length === 2 for date convertion\n
ajax.php?client (line 132)
// Based on byteson by Andrea Giammarchi
128// (http://www.devpro.it/byteson/)
129// ======================================================================Phorum.JSON = {};Phorum.JSON.common =
130{
131// characters object, useful to convert some char in a JSON compatible way
132c:{'\b':'b','\t':'t','\n':'n','\f':'f','\r':'r','"':'"','\\':'\\','/':'/'},// decimal function, returns a string with length === 2 for date convertion
133d:function(n){return n < 10 ? '0'.concat(n) : n},// integer function, returns integer value from a piece of string
134i:function(e, p, l){return parseInt(e.substr(p, l))},// slash function, add a slash before a common.c char
135s
Re: Module: Compress output using Minify March 24, 2009 08:34PM |
Admin Registered: 19 years ago Posts: 8,532 |
There's only one solution: don't run the minify module. Compressing javascript can easily cause errors in the resulting javascript code. I have not yet tested all javascript code for all modules to see if it's compatible with minify and the other compression modules.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: Compress output using Minify April 21, 2009 03:00AM |
Registered: 17 years ago Posts: 97 |
Re: Module: Compress output using Minify April 21, 2009 04:08AM |
Admin Registered: 21 years ago Posts: 9,240 |
Sorry, only registered users may post in this forum.