Changeset 9201

Show
Ignore:
Timestamp:
04/09/08 20:31:17 (8 months ago)
Author:
mattn
Message:

lang/javascript/vimperator-plugins/trunk/twitter.js:

  • インデント修正
Files:
1 modified

Legend:

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

    r9199 r9201  
    1616    function sprintf(format) { 
    1717        var i = 1, re = /%s/, result = "" + format; 
    18                 while (re.test(result) && i < arguments.length) result = result.replace(re, arguments[i++]); 
     18        while (re.test(result) && i < arguments.length) result = result.replace(re, arguments[i++]); 
    1919        return result; 
    2020    } 
     
    2727 
    2828        var html = <><![CDATA[ 
    29                         <style tyep="text/css"><!-- 
    30                         a { text-decoration: none; } 
    31                         img { border; 0px; width: 16px; height: 16px; vertical-align: baseline; } 
    32                         --></style> 
    33                 ]]></>.toString().replace(/\n\s*/g, ''); 
     29            <style tyep="text/css"><!-- 
     30            a { text-decoration: none; } 
     31            img { border; 0px; width: 16px; height: 16px; vertical-align: baseline; } 
     32            --></style> 
     33        ]]></>.toString().replace(/\n\s*/g, ''); 
    3434        for (var i = 0; i < followers_status.length; i++) { 
    3535            var stat = followers_status[i]; 
    36                         html += sprintf( 
    37                                 <><![CDATA[ 
    38                                         <a href="%s"> 
    39                                                         <img src="%s" title="%s" border="0" /> 
    40                                                         <strong>%s</strong> 
    41                                                 </a>: <a href="%s">%s</a><br /> 
     36            html += sprintf( 
     37                    <><![CDATA[ 
     38                        <a href="%s"> 
     39                            <img src="%s" title="%s" border="0" /> 
     40                            <strong>%s</strong> 
     41                        </a>: <a href="%s">%s</a><br /> 
    4242                    ]]></>.toString().replace(/\n\s*/g, ''), 
    4343                "http://twitter.com/"  + stat.user.screen_name, 
     
    4949            ); 
    5050        } 
    51                         liberator.log(html); 
     51            liberator.log(html); 
    5252        liberator.echo(html, true); 
    5353    }