Changeset 38076

Show
Ignore:
Timestamp:
07/31/10 17:42:11 (4 years ago)
Author:
anekos
Message:

around をもう少し慎重にした

Files:
1 modified

Legend:

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

    r38075 r38076  
    7272 
    7373  function around () { 
     74    if (!liberator.plugins.libly) 
     75      return false; 
     76 
    7477    liberator.plugins.libly.$U.around( 
    7578      io, 
     
    9194      } 
    9295    ); 
     96    return true; 
    9397  } 
    9498 
     
    119123            liberator.echoerr('plugin_loader.js: context not found (' + file.path + ')'); 
    120124          } 
    121           if (!arounded && file.leafName === '_libly.js') { 
    122             arounded = true; 
    123             around(); 
    124           } 
     125          if (!arounded && file.leafName === '_libly.js') 
     126            arounded = around(); 
    125127        } 
    126128      });