From dcca60ea0cd7939f3e9aa7657bd3ae30bf909608 Mon Sep 17 00:00:00 2001 From: drry Date: Thu, 22 Jan 2009 19:32:06 +0000 Subject: * cosmetic changes. git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@28871 d0d07461-0603-4401-acd4-de1884942a52 --- tombloo.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tombloo.js') diff --git a/tombloo.js b/tombloo.js index 323b494..c5f7744 100644 --- a/tombloo.js +++ b/tombloo.js @@ -1,4 +1,4 @@ -let PLUGIN_INFO = +let PLUGIN_INFO = {NAME} Tombloo integrate plugin @@ -77,7 +77,7 @@ commands.addUserCommand( 'Post by Tombloo', function (args, special) { //let f = Tombloo.Service.extractors[args.string]; - let arg = args.string.replace(/\\\u0020/g, '\u0020'); + let arg = args.string.replace(/\\(?=\u0020)/g, ''); liberator.log(args.string, 0); liberator.log(arg, 0); @@ -96,8 +96,8 @@ commands.addUserCommand( context.completions = candidates.filter( function($_) this.test($_[0]), new RegExp(context.filter, 'i') - ) - }, + ); + } } ); -- cgit v1.2.3