« Return to Thread: [Trinidad] added browser version support in skinning TRINIDAD-799

[Trinidad] added browser version support in skinning TRINIDAD-799

by Cristi Toth :: Rate this Message:

Reply to Author | View in Thread

Hi guys,

I finally added browser version support in skinning, but using a different format than first suggested.
As we needed to support multiple browsers, each with multiple versions, I have chosen to use this format:

@ agent ie 5 6 7, gecko,safari {....}


So each agent definition separated by comma and the versions a space separated list following the browser type.

Also in the code I replaced :
int[] browsers
int[] versions
with :
Map <Integer, Set<Integer>> browsers

this represents browser types mapped to their versions set.


If you have any objections on this, please reopen the issue and add some comments

Regards,
--
Cristi Toth

-------------
Codebeat
www.codebeat.ro

 « Return to Thread: [Trinidad] added browser version support in skinning TRINIDAD-799