From c2f0697d3428a60e09de12598d66c9c091b89024 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sun, 6 Aug 2017 22:34:13 +0200 Subject: 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). --- include/classes/BigPipe/Resource/CSS.php | 27 ------------------------- include/classes/BigPipe/Resource/JS.php | 27 ------------------------- include/classes/BigPipe/Resource/Javascript.php | 27 +++++++++++++++++++++++++ include/classes/BigPipe/Resource/Stylesheet.php | 27 +++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 54 deletions(-) delete mode 100644 include/classes/BigPipe/Resource/CSS.php delete mode 100644 include/classes/BigPipe/Resource/JS.php create mode 100644 include/classes/BigPipe/Resource/Javascript.php create mode 100644 include/classes/BigPipe/Resource/Stylesheet.php (limited to 'include/classes/BigPipe') 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 @@ -] # -#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# -# # -# [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('', $this->getID(), $this->getURL()); - } -} -?> \ No newline at end of file diff --git a/include/classes/BigPipe/Resource/JS.php b/include/classes/BigPipe/Resource/JS.php deleted file mode 100644 index 2cf4ebc..0000000 --- a/include/classes/BigPipe/Resource/JS.php +++ /dev/null @@ -1,27 +0,0 @@ -] # -#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# -# # -# [More information coming soon] # -# # -#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# -namespace BigPipe\Resource; - -class JS extends \BigPipe\Resource { - - #=============================================================================== - # Build resource - #=============================================================================== - public function __construct($customID = NULL, $resourceURL) { - parent::__construct($customID, parent::TYPE_JAVASCRIPT, $resourceURL); - } - - #=============================================================================== - # Render resource HTML - #=============================================================================== - public function renderHTML() { - return sprintf('', $this->getID(), $this->getURL()); - } -} -?> \ No newline at end of file diff --git a/include/classes/BigPipe/Resource/Javascript.php b/include/classes/BigPipe/Resource/Javascript.php new file mode 100644 index 0000000..8afb5df --- /dev/null +++ b/include/classes/BigPipe/Resource/Javascript.php @@ -0,0 +1,27 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [More information coming soon] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +namespace BigPipe\Resource; + +class Javascript extends \BigPipe\Resource { + + #=============================================================================== + # Build resource + #=============================================================================== + public function __construct($customID = NULL, $resourceURL) { + parent::__construct($customID, parent::TYPE_JAVASCRIPT, $resourceURL); + } + + #=============================================================================== + # Render resource HTML + #=============================================================================== + public function renderHTML() { + return sprintf('', $this->getID(), $this->getURL()); + } +} +?> \ No newline at end of file diff --git a/include/classes/BigPipe/Resource/Stylesheet.php b/include/classes/BigPipe/Resource/Stylesheet.php new file mode 100644 index 0000000..2185446 --- /dev/null +++ b/include/classes/BigPipe/Resource/Stylesheet.php @@ -0,0 +1,27 @@ +] # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +# # +# [More information coming soon] # +# # +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%# +namespace BigPipe\Resource; + +class Stylesheet 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('', $this->getID(), $this->getURL()); + } +} +?> \ No newline at end of file -- cgit v1.2.3