1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00

Style fixes

This commit is contained in:
J. King 2019-09-05 10:21:36 -04:00
parent d9c769d40e
commit 53aa7a4d0d
4 changed files with 10 additions and 12 deletions

View file

@ -2,7 +2,6 @@
use Robo\Result;
const BASE = __DIR__.\DIRECTORY_SEPARATOR;
const BASE_TEST = BASE."tests".\DIRECTORY_SEPARATOR;
define("IS_WIN", defined("PHP_WINDOWS_VERSION_MAJOR"));
@ -223,7 +222,7 @@ class RoboFile extends \Robo\Tasks {
// rebuild the stylesheet
$t->addCode([$this, "manualCss"]);
// copy JavaScript files from the Daux theme
foreach(glob($dauxjs."daux*") as $file) {
foreach (glob($dauxjs."daux*") as $file) {
$t->taskFilesystemStack()->copy($file, $themeout.basename($file), true);
}
// download highlight.js
@ -231,7 +230,7 @@ class RoboFile extends \Robo\Tasks {
// compile the list of desired language (enumerated above) into an application/x-www-form-urlencoded body
$post = http_build_query((function($langs) {
$out = [];
foreach($langs as $l) {
foreach ($langs as $l) {
$out[$l.".js"] = "on";
}
return $out;

View file

@ -227,7 +227,6 @@ class API extends \JKingWeb\Arsse\REST\AbstractHandler {
}
}
return $p;
}
protected function logIn(string $hash): bool {