From 73479d64402a77326f0c2a72ed6de834eb878000 Mon Sep 17 00:00:00 2001 From: piro Date: Fri, 25 Dec 2009 20:07:00 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=84=E3=83=AA=E3=83=BC=E5=8D=98=E4=BD=8D?= =?UTF-8?q?=E3=81=A7=E3=82=BF=E3=83=96=E3=82=92=E9=96=89=E3=81=98=E3=81=9F?= =?UTF-8?q?=E6=99=82=E3=80=81=E3=81=9D=E3=81=AE=E4=B8=80=E5=BA=A6=E3=81=AB?= =?UTF-8?q?=E9=96=89=E3=81=98=E3=82=89=E3=82=8C=E3=81=9F=E3=82=BF=E3=83=96?= =?UTF-8?q?=E3=81=AB=E5=85=B1=E9=80=9A=E3=81=AEID=E3=82=92=E4=BB=98?= =?UTF-8?q?=E4=B8=8E=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=97?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5636 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- modules/utils.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/utils.js b/modules/utils.js index 327860f3..fbd6d1ef 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -60,6 +60,7 @@ var TreeStyleTabUtils = { kNEST : 'treestyletab-nest', kINSERT_BEFORE : 'treestyletab-insert-before', kINSERT_AFTER : 'treestyletab-insert-after', + kCLOSED_SET_ID : 'treestyletab-closed-set-id', kID_RESTORING : 'treestyletab-id-restoring', kCHILDREN_RESTORING : 'treestyletab-children-restoring', @@ -438,6 +439,11 @@ var TreeStyleTabUtils = { return 'tab-<'+Date.now()+'-'+parseInt(Math.random() * 65000)+'>'; }, + makeNewClosedSetId : function TSTUtils_makeNewId() + { + return 'tabs-closed-set-<'+Date.now()+'-'+parseInt(Math.random() * 65000)+'>'; + }, + makeURIFromSpec : function TSTUtils_makeURIFromSpec(aURI) { var newURI; @@ -641,7 +647,7 @@ var TreeStyleTabUtils = { return aA._tPos - aB._tPos; }, - normalizeToTabs : function TSTUtils_normalizeToTabs(aTabOrTabs, aOnlyChildren) + gatherSubtreeMemberTabs : function TSTUtils_gatherSubtreeMemberTabs(aTabOrTabs, aOnlyChildren) { var tabs = aTabOrTabs; if (!(tabs instanceof Array)) {