Friday, December 27, 2013

Re: Differences between DevMode and Production mode related to trim()

GWT does not use the JS trim() method because of browser compatibility.

See bottom of file:

Maybe this implementation is not compatible with the contents of your String. In Java everything below \u0020 will be removed. Maybe thats not the case when using JavaScript "\s" RegExp.

-- J.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment