aboutsummaryrefslogtreecommitdiffstats
path: root/include/classes/BigPipe/Resource/JS.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/classes/BigPipe/Resource/JS.php')
-rw-r--r--include/classes/BigPipe/Resource/JS.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/include/classes/BigPipe/Resource/JS.php b/include/classes/BigPipe/Resource/JS.php
deleted file mode 100644
index 2cf4ebc..0000000
--- a/include/classes/BigPipe/Resource/JS.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# Resource representation class [JS] [Thomas Lange <code@nerdmind.de>] #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-# #
-# [More information coming soon] #
-# #
-#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
-namespace BigPipe\Resource;
-
-class JS extends \BigPipe\Resource {
-
- #===============================================================================
- # Build resource
- #===============================================================================
- public function __construct($customID = NULL, $resourceURL) {
- parent::__construct($customID, parent::TYPE_JAVASCRIPT, $resourceURL);
- }
-
- #===============================================================================
- # Render resource HTML
- #===============================================================================
- public function renderHTML() {
- return sprintf('<script data-id="%s" src="%s"></script>', $this->getID(), $this->getURL());
- }
-}
-?> \ No newline at end of file