137 |
ids = ['source-string']; |
ids = ['source-string']; |
138 |
} else if (id.match (/^node-/)) { |
} else if (id.match (/^node-/)) { |
139 |
ids = ['document-tree']; |
ids = ['document-tree']; |
140 |
|
} else if (id.match (/^index-/)) { |
141 |
|
ids = ['document-structure']; |
142 |
} else if (id.match (/^subdoc-[^-]+-/)) { |
} else if (id.match (/^subdoc-[^-]+-/)) { |
143 |
var m; |
var m; |
144 |
ids = ['']; |
ids = ['']; |
155 |
ids.push (ids[ids.length - 1] + 'source-string'); |
ids.push (ids[ids.length - 1] + 'source-string'); |
156 |
} else if (id.match (/^node-/)) { |
} else if (id.match (/^node-/)) { |
157 |
ids.push (ids[ids.length - 1] + 'document-tree'); |
ids.push (ids[ids.length - 1] + 'document-tree'); |
158 |
|
} else if (id.match (/^index-/)) { |
159 |
|
ids.push (ids[ids.length - 1] + 'document-structure'); |
160 |
} else { |
} else { |
161 |
ids.push (ids[ids.length - 1] + id); |
ids.push (ids[ids.length - 1] + id); |
162 |
} |
} |