From a1cbe0aac7168967dc9a01fb22066d8a7c0176f2 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sun, 6 Aug 2017 22:37:24 +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/Pagelet.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/classes/BigPipe/Pagelet.php b/include/classes/BigPipe/Pagelet.php index df74876..20e86a6 100755 --- a/include/classes/BigPipe/Pagelet.php +++ b/include/classes/BigPipe/Pagelet.php @@ -86,17 +86,17 @@ class Pagelet extends Item { } #=============================================================================== - # Short: Add CSS resource by URL + # Short: Add stylesheet resource by URL #=============================================================================== public function addCSS($resourceURL): Resource { - return $this->addResource(new Resource\CSS(NULL, $resourceURL)); + return $this->addResource(new Resource\Stylesheet(NULL, $resourceURL)); } #=============================================================================== - # Short: Add JS resource by URL + # Short: Add javascript resource by URL #=============================================================================== public function addJS($resourceURL): Resource { - return $this->addResource(new Resource\JS(NULL, $resourceURL)); + return $this->addResource(new Resource\Javascript(NULL, $resourceURL)); } #=============================================================================== -- cgit v1.2.3