Changeset 11320
- Timestamp:
- 05/10/08 05:37:47 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/hatenabookmark_show.js
r11206 r11320 4 4 // Maintainer: Trapezoid <trapezoid.g@gmail.com> - http://unsigned.g.hatena.ne.jp/Trapezoid 5 5 // 6 // show hatena bookmark comments script for vimperator0.6.*6 // show hatena bookmark comments script for Vimperator 0.6 7 7 8 8 (function(){ … … 20 20 showString += response["count"] + " users : " + response["title"] + "<dl>"; 21 21 22 for each (var bookmark in bookmarks){22 bookmarks.forEach(function(bookmark){ 23 23 tagString = bookmark.tags.length ? "[" + bookmark.tags.join("][") + "]":""; 24 24 showString += "<dt style=\"float:left;clear:both;width:10%;margin:0;\">" + bookmark.user + "</dt>"; 25 25 showString += "<dd style=\"margin:0 0 0 10%;width:90%;border-left:1px solid;\"> " 26 26 showString += tagString + (bookmark.tags.length > 0 && bookmark.comment ? "<br/> ":"") + bookmark.comment + "</dd>"; 27 } 27 }); 28 28 showString += "</dl></div>"; 29 29 liberator.commandline.echo(showString, liberator.commandline.HL_NORMAL, liberator.commandline.FORCE_MULTILINE);
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)