cleanup and update of jquery-colorpicker dependency
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user