Changeset 35989

Show
Ignore:
Timestamp:
11/25/09 18:47:46 (3 years ago)
Author:
anekos
Message:

Fix a typo

Files:
1 modified

Legend:

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

    r35967 r35989  
    3939  <description>to run a specified command every time at specified interval.</description> 
    4040  <description lang="ja">指定のコマンドを指定の間隔で実行する。</description> 
    41   <version>1.2.0</version> 
     41  <version>1.2.1</version> 
    4242  <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> 
    4343  <license>new BSD License (Please read the source code comments of this plugin)</license> 
     
    175175    ['delay'], 
    176176    'delay', 
    177     function (arg) { 
    178       let cmd = arg.literalArg; 
     177    function (args) { 
     178      let cmd = args.literalArg; 
    179179      let f = function () { 
    180180        if (liberator.mode == liberator.modules.modes.COMMAND_LINE) { 
     
    185185      }; 
    186186      let interval = args['-interval']; 
    187       setTimeout(f, msec(interval ? expandSuffix(interval) : arg.count)); 
     187      setTimeout(f, msec(interval ? expandSuffix(interval) : args.count)); 
    188188    }, 
    189189    {