Changeset 35989
- Timestamp:
- 11/25/09 18:47:46 (3 years ago)
- Files:
-
- 1 modified
-
lang/javascript/vimperator-plugins/trunk/every.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/every.js
r35967 r35989 39 39 <description>to run a specified command every time at specified interval.</description> 40 40 <description lang="ja">指定のコマンドを指定の間隔で実行する。</description> 41 <version>1.2. 0</version>41 <version>1.2.1</version> 42 42 <author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author> 43 43 <license>new BSD License (Please read the source code comments of this plugin)</license> … … 175 175 ['delay'], 176 176 'delay', 177 function (arg ) {178 let cmd = arg .literalArg;177 function (args) { 178 let cmd = args.literalArg; 179 179 let f = function () { 180 180 if (liberator.mode == liberator.modules.modes.COMMAND_LINE) { … … 185 185 }; 186 186 let interval = args['-interval']; 187 setTimeout(f, msec(interval ? expandSuffix(interval) : arg .count));187 setTimeout(f, msec(interval ? expandSuffix(interval) : args.count)); 188 188 }, 189 189 {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)