Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit b50715e

Browse files
Lorenzo BoccacciaLorenzo Boccaccia
authored andcommitted
Merge pull request #1589 from fmoloney/1.0-TagsXPath
JavaScript base constants needs the default tags xpath.
2 parents 60d6b7a + 90d887d commit b50715e

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

sdk/com.ibm.sbt.web/src/main/webapp/js/sdk/sbt/base/BaseConstants.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/*
2-
* © Copyright IBM Corp. 2012
2+
* © Copyright IBM Corp. 2012
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at:
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* http://www.apache.org/licenses/LICENSE-2.0
99
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13-
* implied. See the License for the specific language governing
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13+
* implied. See the License for the specific language governing
1414
* permissions and limitations under the License.
1515
*/
1616
/**
@@ -83,7 +83,8 @@ define([ "../config" ], function(sbt) {
8383
categoryTerm : "a:category/@term",
8484
editUrl : "a:link[@rel='edit']/@href",
8585
selfUrl : "a:link[@rel='self']/@href",
86-
alternateUrl : "a:link[@rel='alternate']/@href"
86+
alternateUrl : "a:link[@rel='alternate']/@href",
87+
tags : "./a:category[not(@scheme)]/@term"
8788
},
8889

8990
/**

0 commit comments

Comments
 (0)