Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

Detecting Dev Mode automatically in the entry point #2

Open
zak905 opened this issue May 10, 2016 · 0 comments
Open

Detecting Dev Mode automatically in the entry point #2

zak905 opened this issue May 10, 2016 · 0 comments

Comments

@zak905
Copy link
Member

zak905 commented May 10, 2016

it would be better to have somthing like:

if ( Dev mode){
//execute this chunck of code
}else {
// production; execute this one
}

instead of having the user comment out the chunks. The GWT isClient(), isScript(), isProduction() don't seem to detect Dev mode properly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant