aboutsummaryrefslogtreecommitdiffstats
path: root/include/classes/BigPipe/Resource/JS.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2016-07-10 11:24:33 +0200
committerThomas Lange <code@nerdmind.de>2016-07-10 11:24:33 +0200
commitdc0b1a382b5f980cffe87e9965e659d07107026e (patch)
treed05bd1dc5a7140caf40bb19483c93e0fe0a757f4 /include/classes/BigPipe/Resource/JS.php
parent28f2ba2a44ca932e16ba6791a07ed42b62fe6803 (diff)
downloadbigpipe-dc0b1a382b5f980cffe87e9965e659d07107026e.tar.gz
bigpipe-dc0b1a382b5f980cffe87e9965e659d07107026e.tar.xz
bigpipe-dc0b1a382b5f980cffe87e9965e659d07107026e.zip
Each resource has now an ID; Code improvements and comment blocks added.
Diffstat (limited to 'include/classes/BigPipe/Resource/JS.php')
-rw-r--r--include/classes/BigPipe/Resource/JS.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/classes/BigPipe/Resource/JS.php b/include/classes/BigPipe/Resource/JS.php
index f9e109b..e79bd8b 100644
--- a/include/classes/BigPipe/Resource/JS.php
+++ b/include/classes/BigPipe/Resource/JS.php
@@ -1,4 +1,11 @@
<?php
+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
+# Resource representation class [JS] [Thomas Lange <tl@nerdmind.de>] #
+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
+# #
+# [More information coming soon] #
+# #
+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
namespace BigPipe\Resource;
class JS extends \BigPipe\Resource {
@@ -6,8 +13,8 @@ class JS extends \BigPipe\Resource {
#===============================================================================
# Build resource
#===============================================================================
- public function __construct($resourceURL) {
- parent::__construct(parent::TYPE_JAVASCRIPT, $resourceURL);
+ public function __construct($customID = NULL, $resourceURL) {
+ parent::__construct($customID, parent::TYPE_JAVASCRIPT, $resourceURL);
}
#===============================================================================