1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 04:17:59 +01:00

change remaining uses of the Array() constructor in array initializations to

literals
This commit is contained in:
Doug Kearns
2007-08-11 12:46:13 +00:00
parent 101bcf025e
commit 5b6b78d815
6 changed files with 13 additions and 13 deletions

View File

@@ -198,7 +198,7 @@ vimperator.completion = (function() // {{{
*/
get_url_completions: function(filter, complete) //{{{
{
var completions = new Array();
var completions = [];
g_substrings = [];
var cpt = complete || vimperator.options["complete"];
@@ -245,7 +245,7 @@ vimperator.completion = (function() // {{{
get_file_completions: function(filter) //{{{
{
//var completions = new Array();
//var completions = [];
/* This is now also used as part of the url completion, so the substrings shouldn't be cleared for that case */
if (!arguments[1])
g_substrings = [];