[Seaside] Internet line endings

Sebastian Sastre sebastian at flowingconcept.com
Thu Mar 8 18:13:20 UTC 2012

Hey there,

for the record:

If you find yourself having to debug javascript served by Seaside libraries you could be in trouble because you probably find that code all in a long single line. So you can't put breakpoints, etc. Is not even readable.

In such situation you want to use this:

WAFileLibrary>>documentForFile: aFilename
	| content |
	content := self asSelector: aFilename.
	^ (self perform: content) withInternetLineEndings



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20120308/17db8136/attachment.htm

More information about the seaside mailing list