Commit 5edfedf8 authored by drumm's avatar drumm

Arbitrary spacing cleanup I found in my development checkout.

parent 29ba34de
......@@ -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) .' ]';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment