diff options
-rwxr-xr-x | include/classes/BigPipe/Pagelet.php | 8 |
1 files 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)); } #=============================================================================== |