从GWT应用内检测超级开发模式 [英] Detecting Super Dev Mode from within GWT app
本文介绍了从GWT应用内检测超级开发模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我猜标题说明了一切:
是否有某种标志允许我的GWT应用程序检查它是否正在超级开发模式下运行遵循 GWT.isProdMode()
,也许)?
解决方案
开放问题关于拥有像 GWT.isProdMode()
。
与此同时,如果真的需要知道,您可以在< replace-with>
或< generate-with>
规则。
I guess the title says it all:
Is there some kind of flag that allows my GWT app to check whether it is currently running in Super Dev Mode (something along the lines of GWT.isProdMode()
, maybe)?
解决方案
There's an open issue about having a public accessor like GWT.isProdMode()
.
In the mean time, if you really need to know, there's a deferred binding property named superdevmode
that you can use in your <replace-with>
or <generate-with>
rules.
这篇关于从GWT应用内检测超级开发模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文