NathanaelA / nativescript-dom

NativeScript DOM emulation methods
MIT License
42 stars 23 forks source link

Edit Upgrade Message #19

Closed jonguenther closed 4 years ago

jonguenther commented 4 years ago

Removes the flashy warning message and delay, so that it won't cram the console like this: image

Adds a smaller message with the same gist, but a lighter footprint in the console:

image

NathanaelA commented 4 years ago

The problem is it is designed to be large so that it is not missed. Most of these plugins that have this message actually have some weird issues in NS 6. So if you are still trying to use it in NS 6, it is a bad thing and I want to make sure you are 100% aware of the risks.

Now as to those who are aware of the issues and totally willing to accept it is on them, just use the environmental variable PROPLUGINS=1 and it won't print at all. Or use the CI=1 variable to eliminate the color.