mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:08:00 +01:00
Dont lower-case completion strings.
This commit is contained in:
@@ -161,6 +161,11 @@ liberator.util = { //{{{
|
||||
return str.replace(/([\\{}()[\].?*+])/g, "\\$1");
|
||||
},
|
||||
|
||||
escapeString: function (str)
|
||||
{
|
||||
return '"' + str.replace(/([\\'])/g, "\\$1") + '"';
|
||||
},
|
||||
|
||||
// Flatten an array:
|
||||
// [["foo", "bar"], ["baz"]] -> ["foo", "bar", "baz"]
|
||||
flatten: function (ary)
|
||||
|
||||
Reference in New Issue
Block a user