aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-08-06 22:37:24 +0200
committerThomas Lange <code@nerdmind.de>2017-08-06 22:37:24 +0200
commita1cbe0aac7168967dc9a01fb22066d8a7c0176f2 (patch)
tree5c94be8f8a9f8f4c0db571b59fb9a41d50f19840 /include
parentc2f0697d3428a60e09de12598d66c9c091b89024 (diff)
downloadbigpipe-a1cbe0aac7168967dc9a01fb22066d8a7c0176f2.tar.gz
bigpipe-a1cbe0aac7168967dc9a01fb22066d8a7c0176f2.tar.xz
bigpipe-a1cbe0aac7168967dc9a01fb22066d8a7c0176f2.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')
-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));
}
#===============================================================================