INRIA/spoon

Feature: GWT JSNI code Comment position

开放

#1,269 创建于 2017年4月21日

 (1 条评论) (0 个反应) (0 位负责人)Java (383 个派生)github user discovery
featuregood first issuehelp wanted

仓库指标

星标
 (1,933 个星标)
PR 合并指标
 (平均合并 19天 11小时) (30 天内合并 49 个 PR)

描述

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

贡献者指南