mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 11:27:58 +01:00
Make bookmark cache window independent and more dynamic.
This commit is contained in:
@@ -28,6 +28,11 @@ the terms of any one of the MPL, the GPL or the LGPL.
|
||||
|
||||
liberator.util = { //{{{
|
||||
|
||||
clip: function (str, length)
|
||||
{
|
||||
return str.length <= length ? str : str.substr(0, length - 3) + "...";
|
||||
},
|
||||
|
||||
// TODO: use :highlight color groups
|
||||
// if "processStrings" is true, any passed strings will be surrounded by " and
|
||||
// any line breaks are displayed as \n
|
||||
|
||||
Reference in New Issue
Block a user