source:
branches/testa-single-bookmark/js/bookmark.js
@
106
| Last change on this file since 106 was 25, checked in by anonymous, 6 years ago | |
|---|---|
| File size: 294 bytes | |
| Line | |
|---|---|
| 1 | class Bookmark { |
| 2 | constructor( path , max_display_name_length, display_name = null ){ |
| 3 | this.path = path |
| 4 | if( display_name == null ){ |
| 5 | this.display_name = path.substr(-max_display_name_length ) |
| 6 | } |
| 7 | else{ |
| 8 | this.display_name = display_name.substr( -max_display_name_length ) |
| 9 | } |
| 10 | } |
| 11 | } |
Note: See TracBrowser
for help on using the repository browser.
![(trac.ini の [header_logo] セクションを設定してください)](/python/trac/Flist/chrome/common/trac_logo_mini.png)