Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
5edfedf8
Commit
5edfedf8
authored
May 22, 2006
by
Neil Drumm
Browse files
Arbitrary spacing cleanup I found in my development checkout.
parent
29ba34de
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
5edfedf8
...
...
@@ -1129,7 +1129,7 @@ function drupal_map_assoc($array, $function = NULL) {
}
elseif
(
function_exists
(
$function
))
{
$result
=
array
();
foreach
(
$array
as
$value
)
{
foreach
(
$array
as
$value
)
{
$result
[
$value
]
=
$function
(
$value
);
}
return
$result
;
...
...
@@ -1260,7 +1260,7 @@ function drupal_to_js($var) {
case
'array'
:
if
(
array_keys
(
$var
)
===
range
(
0
,
sizeof
(
$var
)
-
1
))
{
$output
=
array
();
foreach
(
$var
as
$v
)
{
foreach
(
$var
as
$v
)
{
$output
[]
=
drupal_to_js
(
$v
);
}
return
'[ '
.
implode
(
', '
,
$output
)
.
' ]'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment