shindig-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Wyllie <justinwyl...@hotmail.co.uk>
Subject RE: Stop Shindig minimising Javascript
Date Fri, 18 Jun 2010 08:47:03 GMT

Yep. The PHP version.
I found 'compress_javascript' in the config - which is consulted by a method in GadgetFeatureRegistry.php.
Setting it to false worked.
Thanks
Justin


> Date: Thu, 17 Jun 2010 17:05:38 -0700
> Subject: Re: Stop Shindig minimising Javascript
> From: lindner@inuus.com
> To: users@shindig.apache.org
> 
> Is this the PHP version?  I can only speak for the java one..
> 
> 
> On Thu, Jun 17, 2010 at 5:17 AM, Justin Wyllie
> <justinwyllie@hotmail.co.uk>wrote:
> 
> >
> > "You can add debug=1 to the iframe URL to get non-minimized javascript..."
> > This is a sample url:
> >
> > http://localhost/gadgets/ifr?debug=1&url=http://localhost/gadgets_tests/mygadget.xml&bpc=1&view=home&parent=http://localhost&st=john.doe:john.doe:4526:shindig:http://localhost/gadgets_tests/mygadget.xml:0:default#rpctoken=123456789
> >
> > I still don't get non minified Javascript.
> > Thanks
> > Justin
> >
> >
> >
> > >
> > > On Wed, May 26, 2010 at 3:39 AM, Justin Wyllie
> > > <justinwyllie@hotmail.co.uk>wrote:
> > >
> > > >
> > > > Hi
> > > >
> > > > When Shindig builds the code which it inserts into the gadget or the
> > > > container it minifies the javascript and removes comments.
> > > >
> > > > Is it possible to stop it minifying the code?
> > > >
> > > > This would make it much easier to debug it in Chrome developer tools or
> > > > Firebug
> > > >
> > > > Thanks
> > > >
> > > > Justin
> > > >
> > > >
> > > >
> > > > _________________________________________________________________
> > > > http://clk.atdmt.com/UKM/go/197222280/direct/01/
> > > > Do you have a story that started on Hotmail? Tell us now
> > > >
> >
> > _________________________________________________________________
> > http://clk.atdmt.com/UKM/go/197222280/direct/01/
> > Do you have a story that started on Hotmail? Tell us now
> >
 		 	   		  
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
Do you have a story that started on Hotmail? Tell us now
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message