diff options
author | Thomas Lange <code@nerdmind.de> | 2017-08-06 22:34:13 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-08-06 22:34:13 +0200 |
commit | c2f0697d3428a60e09de12598d66c9c091b89024 (patch) | |
tree | bfe2801ba474ed1880f9e1c35c9ba5a3e554164c /include/classes/BigPipe/Resource/CSS.php | |
parent | 9af3d7a4d2a62b2b4951876a24aa7bcacfe11223 (diff) | |
download | bigpipe-c2f0697d3428a60e09de12598d66c9c091b89024.tar.gz bigpipe-c2f0697d3428a60e09de12598d66c9c091b89024.tar.xz bigpipe-c2f0697d3428a60e09de12598d66c9c091b89024.zip |
The "CSS" and "JS" resource representation classes has been renamed to "Stylesheet" and "Javascript" to make it more consistent with the other class names (instead of using the abbreviations).
Diffstat (limited to 'include/classes/BigPipe/Resource/CSS.php')
-rw-r--r-- | include/classes/BigPipe/Resource/CSS.php | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/include/classes/BigPipe/Resource/CSS.php b/include/classes/BigPipe/Resource/CSS.php deleted file mode 100644 index d68a446..0000000 --- a/include/classes/BigPipe/Resource/CSS.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php -#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# -# Resource representation class [CSS] [Thomas Lange <code@nerdmind.de>] # -#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# -# # -# [More information coming soon] # -# # -#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# -namespace BigPipe\Resource; - -class CSS extends \BigPipe\Resource { - - #=============================================================================== - # Build resource - #=============================================================================== - public function __construct($customID = NULL, $resourceURL) { - parent::__construct($customID, parent::TYPE_STYLESHEET, $resourceURL); - } - - #=============================================================================== - # Render resource HTML - #=============================================================================== - public function renderHTML() { - return sprintf('<link data-id="%s" href="%s" rel="stylesheet" />', $this->getID(), $this->getURL()); - } -} -?>
\ No newline at end of file |