Hello Klaus
First of all, your last update of the software, the 1.0.8.15 is a peace of gold!
thank you so much for such a great work!!!
I've been trying to work with the device object.
In the documentation you say that the old devices variable are being deprecated and shouldn't be used anymore.
So in stead use the new device object.
In the examples of the documentation it is used like this:
if(device.flash, ... );
But this is not working at all!
To be more specific this is what I tried to do:
this doesn't work
<plugin name="Somename=" url="..." ... .. onloaded="if(device.phone,set(scale,2));" />
But the old way it works:
<plugin name="Somename=" url="..." ... .. onloaded="if(isphone,set(scale,2));" />
So I tried other ways and I came up with this syntax wich works:
if(device === phone, ... );
I wonder why in the examples of the Docu it's set like that???
thank you!
Ariel