You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2019/06/12 08:18:39 UTC
[myfaces-tobago] branch master updated: TOBAGO-1633: TS refactoring
- cleanup
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/master by this push:
new 9e9d524 TOBAGO-1633: TS refactoring - cleanup
9e9d524 is described below
commit 9e9d524f54a7ffe55261a349b34b4a110e0c933b
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Jun 12 10:18:30 2019 +0200
TOBAGO-1633: TS refactoring - cleanup
---
.../src/main/npm/ts/tobago-utils.ts | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-utils.ts b/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-utils.ts
index 5ed2e47..6b3bd58 100644
--- a/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-utils.ts
+++ b/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-utils.ts
@@ -125,27 +125,6 @@ export class Tobago4Utils {
: elements.find(selector).add(elements.filter(selector));
};
- static findSubComponent(element, subId) {
- return jQuery(Tobago4Utils.getSubComponentId(element.attr('id'), subId));
- };
-
- static getSubComponentId(id, subId) {
- if (id != null) {
- return "#" + id.replace(/:/g, "\\:") + "\\:\\:" + subId;
- } else {
- return null;
- }
- };
-
- /** @deprecated */
- static findSuperComponent(element) {
- return jQuery(Tobago4Utils.getSuperComponentId(element.attr('id')));
- };
-
- static getSuperComponentId(id) {
- return "#" + id.substring(0, id.lastIndexOf("::")).replace(/:/g, "\\:");
- };
-
/**
* "a:b" -> "a"
* "a:b:c" -> "a:b"