Skip to content

Commit

Permalink
Merge pull request #181 from Capstone-Projects-2024-Spring/timber
Browse files Browse the repository at this point in the history
that didn't work for some reason, just gonna go back to the mess that…
  • Loading branch information
alyssatownsend authored May 7, 2024
2 parents 7f746b7 + 5e746f3 commit b081ad5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions colorInSync/app/Http/Controllers/DocumentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ public function show(Request $request, string $id)
$colorProfile = new \stdClass();
${'grapheme-color map'} = new \stdClass();

for ($i = 0; $i < 26; $i++){
/*for ($i = 0; $i < 26; $i++){
${'grapheme-color map'}->$cpJson[$i]['grapheme'] = $cpJson[$i]['color'];
}
/*${'grapheme-color map'}->A = $cpJson[0]['color'];
}*/
${'grapheme-color map'}->A = $cpJson[0]['color'];
${'grapheme-color map'}->B = $cpJson[1]['color'];
${'grapheme-color map'}->C = $cpJson[2]['color'];
${'grapheme-color map'}->D = $cpJson[3]['color'];
Expand All @@ -158,7 +158,7 @@ public function show(Request $request, string $id)
${'grapheme-color map'}->W = $cpJson[22]['color'];
${'grapheme-color map'}->X = $cpJson[23]['color'];
${'grapheme-color map'}->Y = $cpJson[24]['color'];
${'grapheme-color map'}->Z = $cpJson[25]['color'];*/
${'grapheme-color map'}->Z = $cpJson[25]['color'];

${'exceptions-color map'} = new \stdClass();
${'exceptions-color map'}->angelic = "rgb(250,250,250)";
Expand Down

0 comments on commit b081ad5

Please sign in to comment.