[Seaside-dev] Newlines in Javascript / JSStream
Michael Lucas-Smith
mlucas-smith at cincom.com
Thu May 20 20:00:55 UTC 2010
Thanks for pointing me to that - I knew there was a conversation on it
somewhere.
I've made a subclass of JSJsonParser but for the other direction, right
now I'm poking the JavascriptCharacters array. I'm only doing this in
WebVelocity, but I'm sure this'll come back to bite me eventually.
Michael
On 5/20/10 12:33 PM, Lukas Renggli wrote:
> See<http://code.google.com/p/seaside/issues/detail?id=541>.
>
> On 20 May 2010 21:21, Michael Lucas-Smith<mlucas-smith at cincom.com> wrote:
>
>> Hi All,
>>
>> I thought this was addressed in a previous with the introduction of
>> GRPlatform>>newline, but it appears that my particular issue wasn't
>> addressed.
>>
>> When I transmit smalltalk strings to the client via javascriptOn:, the
>> Smalltalk newline convention doesn't get converted to the unix newline
>> convention (which is the convention for javascript). And the opposite is too
>> true, when I transmit a string using JSON back to Smalltalk, the unix
>> newline doesn't get converted back to the Smalltalk newline convention.
>>
>> Does any one know what happened here? #newline was added but then not
>> actually used?
>>
>> Michael
>> _______________________________________________
>> seaside-dev mailing list
>> seaside-dev at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>>
>>
>
>
>
More information about the seaside-dev
mailing list