Show
Ignore:
Timestamp:
11/30/08 05:43:11 (6 weeks ago)
Author:
anekos
Message:

引数無しの時は、現在のページを対象とするようにした。

Files:
1 modified

Legend:

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

    r25364 r25367  
    44 * @description     peek page in commandline 
    55 * @author          hogelog 
    6  * @version         0.1 
     6 * @version         0.2 
    77 * ==/VimperatorPlugin== 
    88 * 
     
    4949        'Peek Page in Commandline', 
    5050        function (args){ 
    51             peekview(args.string); 
     51            peekview(args.string || buffer.URL); 
    5252        }, option); 
    5353    commands.addUserCommand(['peeksrc'], 
    5454        'Peek Page Source in Commandline', 
    5555        function (args){ 
    56             var http = util.httpGet(args.string); 
     56            var http = util.httpGet(args.string || buffer.URL); 
    5757            if (http){ 
    5858                liberator.echo(http.responseText, commandline.FORCE_MULTILINE);