This works fine for me. I copy-pasted your code in the "main" method of
a vanilla desktop skeleton. Was this what you did?!
T.
On 06/28/2013 10:24 AM, tuebben wrote:
> Hello,
>
> i want to execute some snippets via eval()
>
> in 'source-mode' everything is working well.
>
> but after building my project the function evalTest() was not found when
> executing via eval().
>
> ---- code-start ----
>
> alert(evalTest()); // work
>
> alert(eval("evalTest()")); // doesn't work after build -> Uncaught
> ReferenceError: evalTest is not defined
>
> function evalTest() {
> return 42;
> }
>
> ---- code-end ----
>
> i suspect that this is a 'class-thing'. How to solve this problem?
>
> Thanks in advance & Greetings ... Peter
>
>
>
> -----
> Sorry for my weird english
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/How-to-call-functions-over-eval-after-build-tp7583996.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel