From 27808e83be05aac27880d2e06bd8d593f4961a94 Mon Sep 17 00:00:00 2001 From: anekos Date: Sun, 7 Apr 2013 12:09:59 +0900 Subject: Fix いいいぃいぃぃぃぃいぃぃふぉおおおおおおうううううえっっっっっっくす!!! --- twittperator/twsidebar.tw | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'twittperator/twsidebar.tw') diff --git a/twittperator/twsidebar.tw b/twittperator/twsidebar.tw index ee8ba3b..191fc13 100644 --- a/twittperator/twsidebar.tw +++ b/twittperator/twsidebar.tw @@ -84,7 +84,7 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () { str = str.trim(); let reg = /https?:\/\/[^\s]+|[#@]\w+/g; XML.ignoreWhitespace = false; - let m, i = 0, buf = "", x = ; + let m, i = 0, buf = "", x = xml``; while((m=reg.exec(str))){ buf = str.substring(i, m.index); if (buf) @@ -103,8 +103,7 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () { klass += " twlist-url"; href = m[0]; } - x.appendChild({m[0]}); + x.appendChild(xml`${m[0]}`); i=reg.lastIndex; } buf = str.substr(i); @@ -128,32 +127,32 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () { let richlistitemClasses = [className('tweet-panel'), className('tweet-' + t.type)]; let nameClass = className('item-name') + ' ' + (t.protected ? className('tweet-protected') : ''); xml = - 70 ? 2 : 0)), "width: " + px(sbWidth - 100) + ' !important' ].join(';')} xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> - + - - - {escapeBreakers(t.text)} + ${escapeBreakers(t.text)} - - + + - ; + `; return xml; } -- cgit v1.2.3