aboutsummaryrefslogtreecommitdiffstats
path: root/include/classes
diff options
context:
space:
mode:
Diffstat (limited to 'include/classes')
-rwxr-xr-xinclude/classes/BigPipe/Pagelet.php8
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));
}
#===============================================================================