<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [Chameleon] compress Chameleon javascript</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=025552306-11052006><FONT face=Arial
color=#0000ff size=2>Hi Bart,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=025552306-11052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=025552306-11052006><FONT face=Arial
color=#0000ff size=2>I just found the missing semi-colon (line 10). It's all
working well now. I have updated cwc_line.js in CVS.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=025552306-11052006><FONT face=Arial
color=#0000ff size=2>I just updated our websites here to make use of it, and I
didn't run into any more problems. The reduction in loading all the .js files is
from 321kb to 119kb. I think that's quite substantial. This is using the old
getcjs.php file that you sent to the list.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=025552306-11052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=025552306-11052006><FONT face=Arial
color=#0000ff size=2>The modification to UIManager.php I just sent works, but
ideally the correct definition of the link to the js file should be inserted in
the several widgets. Just in case anyone is interested in the quick+dirty
solution, I have attached the UIManager.php and getcjs.php file that I use
(place both in /htdocs/). Be aware you have to update cwc_line.js from CVS, or
add a semi-colon on line 10.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=025552306-11052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=025552306-11052006><FONT face=Arial
color=#0000ff size=2>regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=025552306-11052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=025552306-11052006><FONT face=Arial
color=#0000ff size=2>Jacob</FONT></SPAN></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV><SPAN class=114125805-11052006><FONT face=Arial color=#0000ff size=2>Hi
Jacob,</FONT></SPAN></DIV>
<DIV><SPAN class=114125805-11052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=114125805-11052006><FONT face=Arial color=#0000ff size=2>but
we should get this into Chameleon CVS if you get it to work. I'm very much
interested in this as well.</FONT></SPAN></DIV>
<DIV><SPAN class=114125805-11052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=114125805-11052006><FONT face=Arial color=#0000ff size=2>Best
regards,</FONT></SPAN></DIV>
<DIV><SPAN class=114125805-11052006><FONT face=Arial color=#0000ff
size=2>Bart</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>