Changeset 7273

Show
Ignore:
Timestamp:
02/29/08 04:04:01 (5 years ago)
Author:
snj14
Message:

share/lang/javascript/userscripts/reblogcommand.user.js: stdinが[undefined]だった時にエラーを出していたので修正

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/userscripts/reblogcommand.user.js

    r7272 r7273  
    168168                  // command line is 'location | reblog' 
    169169                  urls = stdin; 
    170           }else if(stdin.every(function(a){return a.nodeName == 'A'})){ 
     170          }else if(stdin.every(function(a){return a && a.nodeName == 'A'})){ 
    171171                  // command line is 'pinned-or-current-link | reblog' 
    172172                  urls = stdin.map(function(node){return node.href});