Tuesday, July 3, 2012

productive mode results "undefinded" "NaN"

Hi there,

i'm using a simple JSNI Function:

        public static native boolean evalBoolean(String arg) /*-{
            return eval(arg);
        }-*/;
   
        public static native double evalCalculation(String arg) /*-{
            return eval(arg);
        }-*/;   

in development mode everything works fine. when i compile the project it results"undefined" and "NaN" values...

Any ideas?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/a6ViM-XC50oJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment