You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devicemap.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2013/11/18 15:47:23 UTC
[jira] [Resolved] (DMAP-34) Add a current variant attribute to the
site variants BrowserMap uses for forwarding clients
[ https://issues.apache.org/jira/browse/DMAP-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu resolved DMAP-34.
------------------------------
Resolution: Fixed
Fixed in revision [1543039|http://svn.apache.org/viewvc?view=revision&revision=1543039]:
* added BrowserMap.getCurrentVariant() which extracts the variant that has a ‘data-bmap-currentvar’ attribute with its value set to ‘true’
* updated tests
* bumped version to 1.4.0-dev (API changes)
> Add a current variant attribute to the site variants BrowserMap uses for forwarding clients
> -------------------------------------------------------------------------------------------
>
> Key: DMAP-34
> URL: https://issues.apache.org/jira/browse/DMAP-34
> Project: DeviceMap
> Issue Type: Improvement
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Priority: Minor
> Labels: browsermap
>
> Adding a current variant attribute to the <link rel="alternate" .../> elements that BrowserMap uses for client forwarding would help in directly identifying the initial requested variant; this can be of use for DMAP-33, where information about the current variant has to be extracted and processed.
> The attribute should be named "data-bmap-currentvar". Its value should be "true". It should be present on only one variant and it should be generated server-side.
--
This message was sent by Atlassian JIRA
(v6.1#6144)