From adead626df8873c919216b1b154b3a5fd6b88edf Mon Sep 17 00:00:00 2001 From: teramako Date: Wed, 3 Apr 2013 21:15:18 +0900 Subject: fix: PDF.js.js --- PDF.js.js | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) (limited to 'PDF.js.js') diff --git a/PDF.js.js b/PDF.js.js index 58b4671..0f04981 100644 --- a/PDF.js.js +++ b/PDF.js.js @@ -33,26 +33,24 @@ THE POSSIBILITY OF SUCH DAMAGE. }}} */ // INFO {{{ -let INFO = -<> - - anekos - New BSD License - -

- - :pdfjs-mapping-sample -

mapping sample

pdfjs index - nnoremap -urls ^\\.pdf$ z :pdfjs zoom - ]]>
-
-
-; +let INFO = xml` + + anekos + New BSD License + +

+ + :pdfjs-mapping-sample +

mapping sample

pdfjs index + nnoremap -urls ^\\.pdf$ z :pdfjs zoom + ]]>
+
+
`; // }}} (function () { @@ -206,9 +204,9 @@ let INFO = function desc (o) { const PageRE = /#page=(\d+)\&/; if (o.href && PageRE.test(o.href)) { - return String(<>{nSpace(getOutlineLevel(o))} {o.textContent} (p{o.href.match(PageRE)[1]})); + return `${nSpace(getOutlineLevel(o))} ${o.textContent} (p${o.href.match(PageRE)[1]})`; } else { - return String(<>{nSpace(getOutlineLevel(o))} {o.textContent}); + return `${nSpace(getOutlineLevel(o))} ${o.textContent}`; } } -- cgit v1.2.3