the reason i am using the GWT is so that i do NOT have use javascript. so
obviously, eval seems like totally harmless to me :) what's wrong with it?
2012/11/7 Joseph Lust lifeofl...@gmail.com
True, but *eval() *is one of the Cardinal sins of programming. Think
deeply if there is any way
It is just a good way to create a security hole and allow for malicious
code execution. And it also prevent compiler optimizations since the
compiler cannot divine what you're going to run. However, your use case is
likely a valid one for eval since you're wrapping a JS lib.
Sincerely,
Joseph
True, but *eval() *is one of the Cardinal sins of programming. Think deeply
if there is any way around it. But then again, you are the *Hamster of Death
*, so you may be prone to sin.
Sincerely,
Joseph
--
You received this message because you are subscribed to the Google Groups
Google Web
i remember there being some magic rules, but i'll try
2012/11/3 Sebastian Rothbucher sebastian.rothbuc...@clarities.de
Hi, is it not possible to make a function like eval() (doing just that)
available via JSNI?
On Friday, November 2, 2012 3:10:23 PM UTC+1, HamsterofDeath wrote:
i'm
Hi, is it not possible to make a function like eval() (doing just that)
available via JSNI?
On Friday, November 2, 2012 3:10:23 PM UTC+1, HamsterofDeath wrote:
i'm trying to integrate jqxgrid and write a gwt wrapper around it. (it's
some jquery grid) i know i can write native js methods, but
i'm trying to integrate jqxgrid and write a gwt wrapper around it. (it's
some jquery grid) i know i can write native js methods, but this isn't
enough. i need to dynamically build the call and then execute it as if it
was sent from the server inside a script tag. how can i do that?
--
You