cleanup and update of jquery-colorpicker dependency

This commit is contained in:
2021-11-29 01:25:11 +01:00
parent 665970e71a
commit d02db09056
63 changed files with 13398 additions and 4845 deletions

View File

@ -1,18 +1,21 @@
<?php
require_once ('global.php');
require_once (CRAYON_RESOURCE_PHP);
require_once('global.php');
require_once(CRAYON_RESOURCE_PHP);
/* Manages fonts once they are loaded. */
class CrayonFonts extends CrayonUserResourceCollection {
// Properties and Constants ===============================================
const DEFAULT_FONT = 'monaco';
const DEFAULT_FONT_NAME = 'Monaco';
class CrayonFonts extends CrayonUserResourceCollection
{
// Properties and Constants ===============================================
// Methods ================================================================
const DEFAULT_FONT = 'monaco';
const DEFAULT_FONT_NAME = 'Monaco';
function __construct() {
$this->set_default(self::DEFAULT_FONT, self::DEFAULT_FONT_NAME);
// Methods ================================================================
function __construct()
{
$this->set_default(self::DEFAULT_FONT, self::DEFAULT_FONT_NAME);
$this->directory(CRAYON_FONT_PATH);
$this->relative_directory(CRAYON_FONT_DIR);
$this->extension('css');
@ -30,7 +33,6 @@ class CrayonFonts extends CrayonUserResourceCollection {
}
CrayonLog::debug($this->directory());
CrayonLog::debug($this->user_directory());
}
}
}
?>