From d26934599d3df506f21e1ead94483d4e351b703c Mon Sep 17 00:00:00 2001
From: anekos
Date: Sat, 6 Apr 2013 17:34:25 +0900
Subject:
ミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョミョ
---
memo.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'memo.js')
diff --git a/memo.js b/memo.js
index a282f5b..ef94ad0 100644
--- a/memo.js
+++ b/memo.js
@@ -33,7 +33,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
}}} */
// PLUGIN_INFO {{{
-let PLUGIN_INFO =
+let PLUGIN_INFO = xml`
{NAME}
Write a memo to the specified file.
@@ -59,7 +59,7 @@ let PLUGIN_INFO =
:memo fooooobar!
"fooooobar!" と、メモに書く
]]>
-;
+`;
// }}}
// References:
@@ -122,7 +122,7 @@ let PLUGIN_INFO =
if (arg.literalArg) {
puts(arg.literalArg);
} else {
- let out = <>>;
+ let out = ``;
gets().split(/\n/).reverse().forEach(function (l) {
out +=
{l}
});
--
cgit v1.2.3
From 27808e83be05aac27880d2e06bd8d593f4961a94 Mon Sep 17 00:00:00 2001
From: anekos
Date: Sun, 7 Apr 2013 12:09:59 +0900
Subject: Fix
いいいぃいぃぃぃぃいぃぃふぉおおおおおおうううううえっっっっっっくす!!!
---
memo.js | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
(limited to 'memo.js')
diff --git a/memo.js b/memo.js
index ef94ad0..53f19c1 100644
--- a/memo.js
+++ b/memo.js
@@ -122,9 +122,9 @@ let PLUGIN_INFO = xml`
if (arg.literalArg) {
puts(arg.literalArg);
} else {
- let out = ``;
+ let out = xml``;
gets().split(/\n/).reverse().forEach(function (l) {
- out += {l}
+ out += xml`${l}`;
});
liberator.echo(out);
}
@@ -142,16 +142,16 @@ let PLUGIN_INFO = xml`
let desc = item[1] || this.process[1].call(this, item, item.description);
if (item.description && item.description.length) {
- return
+ return xml`
- {item.description}
+ ${item.description}
- ;
+
`;
}
- return
-
{item[0]}
- ;
+ return xml`
+
${item[0]}
+ `;
};
context.filters = [function (item) this.match(item.description)];
--
cgit v1.2.3