mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2025-01-08 17:02:41 +00:00
Style fixes
This commit is contained in:
parent
d9c769d40e
commit
53aa7a4d0d
4 changed files with 10 additions and 12 deletions
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
use Robo\Result;
|
use Robo\Result;
|
||||||
|
|
||||||
|
|
||||||
const BASE = __DIR__.\DIRECTORY_SEPARATOR;
|
const BASE = __DIR__.\DIRECTORY_SEPARATOR;
|
||||||
const BASE_TEST = BASE."tests".\DIRECTORY_SEPARATOR;
|
const BASE_TEST = BASE."tests".\DIRECTORY_SEPARATOR;
|
||||||
define("IS_WIN", defined("PHP_WINDOWS_VERSION_MAJOR"));
|
define("IS_WIN", defined("PHP_WINDOWS_VERSION_MAJOR"));
|
||||||
|
@ -223,7 +222,7 @@ class RoboFile extends \Robo\Tasks {
|
||||||
// rebuild the stylesheet
|
// rebuild the stylesheet
|
||||||
$t->addCode([$this, "manualCss"]);
|
$t->addCode([$this, "manualCss"]);
|
||||||
// copy JavaScript files from the Daux theme
|
// 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);
|
$t->taskFilesystemStack()->copy($file, $themeout.basename($file), true);
|
||||||
}
|
}
|
||||||
// download highlight.js
|
// 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
|
// compile the list of desired language (enumerated above) into an application/x-www-form-urlencoded body
|
||||||
$post = http_build_query((function($langs) {
|
$post = http_build_query((function($langs) {
|
||||||
$out = [];
|
$out = [];
|
||||||
foreach($langs as $l) {
|
foreach ($langs as $l) {
|
||||||
$out[$l.".js"] = "on";
|
$out[$l.".js"] = "on";
|
||||||
}
|
}
|
||||||
return $out;
|
return $out;
|
||||||
|
|
|
@ -227,7 +227,6 @@ class API extends \JKingWeb\Arsse\REST\AbstractHandler {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $p;
|
return $p;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function logIn(string $hash): bool {
|
protected function logIn(string $hash): bool {
|
||||||
|
|
Loading…
Reference in a new issue