INRIA/spoon

Feature: GWT JSNI code Comment position

Aberta

#1.269 aberto em 21 de abr. de 2017

 (1 comentário) (0 reação) (0 responsável)Java (383 forks)github user discovery
featuregood first issuehelp wanted

Métricas do repositório

Stars
 (1.933 estrelas)
Métricas de merge de PR
 (Mesclagem média 19d 11h) (49 fundiu PRs em 30d)

Description

To create a native Javascript method in GWT a comment must be used:

void native alert(String msg)/*-{
   // Javascript code here
  $wnd.alert(msg);
}-*/ ;

Spoon generates the resulting code like this

/* -{
   // Javascript code here
  $wnd.alert(msg);
}- */ 
void native alert(String msg);

Is there a way to change the position?

Thanks

Guia do colaborador