INRIA/spoon

Feature: GWT JSNI code Comment position

オープン

#1,269 opened on 2017/04/21

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Java (383 件のフォーク)github user discovery
featuregood first issuehelp wanted

Repository metrics

Stars
 (1,933 個のスター)
PR merge metrics
 (平均マージ 19d 11h) (30d で 49 merged PRs)

説明

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

コントリビューターガイド