From c4355f294796d6e62ecad8757545d0d39414860b Mon Sep 17 00:00:00 2001 From: anekos Date: Fri, 23 Apr 2010 04:59:48 +0000 Subject: 改行をシュシュッとする git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37259 d0d07461-0603-4401-acd4-de1884942a52 --- memo.js | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'memo.js') diff --git a/memo.js b/memo.js index 28fa3a2..25e588c 100644 --- a/memo.js +++ b/memo.js @@ -1,5 +1,5 @@ /* {{{ -Copyright (c) 2008, anekos. +Copyright (c) 2008-2010, anekos. All rights reserved. Redistribution and use in source and binary forms, with or without modification, @@ -38,13 +38,13 @@ let PLUGIN_INFO = {NAME} Write a memo to the specified file. 指定のファイルにメモを書く - 1.0.1 + 1.0.2 anekos new BSD License (Please read the source code comments of this plugin) 修正BSDライセンス (ソースコードのコメントを参照してください) http://coderepos.org/share/export/27234/lang/javascript/vimperator-plugins/trunk/memo.js 2.0pre - 2.0pre + 2.3 ; + gets().split(/\n/).reverse().forEach(function (l) { + out +=
  • {l}
  • + }); + liberator.echo(out); } - } + }, + {}, + true ); })(); -- cgit v1.2.3