INRIA/spoon

Feature: GWT JSNI code Comment position

Ouverte

#1 269 ouverte le 21 avr. 2017

 (1 commentaire) (0 réaction) (0 personne assignée)Java (383 forks)github user discovery
featuregood first issuehelp wanted

Métriques du dépôt

Stars
 (1 933 étoiles)
Métriques de merge PR
 (Merge moyen 19j 11h) (49 PRs mergées en 30 j)

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

Guide contributeur