Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
AbstractInlineMarkup.js
01 /**
02 * Parse given inline markup in text
03 *
04 * The markup must start and end with exactly 2 characters
05 *
06 * @param {string} str First markup string
07 * @param {!RegExp} regexp Regexp used to match the markup's span
08 * @param {string} tagName Name of the tag produced by this markup
09 */
10 function parseInlineMarkup(str, regexp, tagName)
11 {
12 if (text.indexOf(str) === -1)
13 {
14 return;
15 }
16
17 var m;
18 while (m = regexp.exec(text))
19 {
20 var match = m[0],
21 matchPos = m.index,
22 matchLen = match.length,
23 endPos = matchPos + matchLen - 2;
24
25 addTagPair(tagName, matchPos, 2, endPos, 2);
26 overwrite(matchPos, 2);
27 overwrite(endPos, 2);
28 }
29 }