Changeset 36112 for lang

Show
Ignore:
Timestamp:
12/10/09 16:21:30 (3 years ago)
Author:
anekos
Message:

マルチポストの設定追加

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/vimperator-plugins/trunk/amebanow.js

    r36111 r36112  
    4949  <require>_libly.js</require> 
    5050  <detail><![CDATA[ 
    51      == command == 
    52       :nau <MESSAGE> 
     51    == command == 
     52    :nau <MESSAGE> 
     53    == multi post setting == 
     54      >|| 
     55        let g:amebanow_multipost = "twitter|wassr" 
     56      ||< 
    5357  ]]></detail> 
    5458</VimperatorPlugin>; 
     
    102106    'Description', 
    103107    function (args) { 
    104       now(args.literalArg); 
     108      let msg = args.literalArg; 
     109      let mpCmds = (liberator.globalVariables.amebanow_multipost || '').split('|'); 
     110      now(msg); 
     111      mpCmds.forEach(function (cmd) liberator.execute(cmd + ' ' + msg)); 
    105112    }, 
    106113    {