Re: Setting a variable in the window namespace

2016-10-26 Thread Vassilis Virvilis
Are you trying to store or to call. Your initial question was about storing but your update is about calling function f,,, .bill On Wed, Oct 26, 2016 at 7:47 PM, Paul Mazzuca wrote: > Update: I was able to sort of figure it out, but still had to use a bit > of

Re: Setting a variable in the window namespace

2016-10-26 Thread Paul Mazzuca
Update: I was able to sort of figure it out, but still had to use a bit of JSNI. Thought I would share the solution below. As background I was trying to store a function in the window namespace. @JsFunction interface MyFunction { void run(String x); } //maybe another way to get the