aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2015-04-20 22:21:04 +0900
committeranekos2015-04-20 22:21:04 +0900
commitc74ae03da64e9b47778990f6db70a169ebb95d99 (patch)
tree5180da80cf1683825ac61b7067ebc1137c43bf64
parentc9da5d5fbd76de2060601b7cc43afc9fc912a426 (diff)
parent04d2baf8d69354ce8e3051e9139fc879851f95df (diff)
downloadvimperator-plugins-c74ae03da64e9b47778990f6db70a169ebb95d99.tar.bz2
Merge pull request #78 from 2GMon/patch_twittperator
replace TemplateXML with template.maybeXML for vimperator 3.9
-rw-r--r--twittperator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/twittperator.js b/twittperator.js
index 215750f..8438d11 100644
--- a/twittperator.js
+++ b/twittperator.js
@@ -2043,7 +2043,7 @@ let INFO = xml`
'</table>';
window.Services.console.logStringMessage(html);
- liberator.echo(new TemplateXML(html), true);
+ liberator.echo(new template.maybeXML(html), true);
}, // }}}
showTwitterMentions: function(arg) { // {{{
tw.jsonGet("statuses/mentions_timeline", null, function(res) {
@@ -2355,7 +2355,7 @@ let INFO = xml`
return;
let id = m[0];
history.filter(function(st) st.id === id).map(dtdd).forEach(function(v) {
- liberator.echo(new TemplateXML(v));
+ liberator.echo(new template.maybeXML(v));
});
},
timelineCompleter: true,