Thursday, October 3, 2013

Re: Passing Object Literal to Javascript method ?


@Jens: thanks, I am going for the latter options, that seems to work well and safe. 
The builder pattern was exactly why I want the above construction ;)  (using the GWT css classes for the naming)

I am just considering if directly creating a JavascriptObject through a Builder class wouldn't be better considering performance, as it will skip the Json parsing. 
I am just not sure how to do this, looking in to it now. If you have any idea, let me know please.

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment