OSDN Git Service

Artisteerテンプレート向けに修正。
authornaoki hirata <naoki@magic3.org>
Sat, 9 Jan 2016 14:08:07 +0000 (23:08 +0900)
committernaoki hirata <naoki@magic3.org>
Sat, 9 Jan 2016 14:08:07 +0000 (23:08 +0900)
include/mos/class/html.php

index 048ce27..57a36eb 100644 (file)
@@ -395,4 +395,26 @@ class JHTML
 
                return $paths;
        }
+       /**
+        * Method to load core.js into the document head.
+        *
+        * Core.js defines the 'Joomla' namespace and contains functions which are used across extensions
+        *
+        * @return  void
+        *
+        * @since   3.3
+        */
+       public static function core()
+       {
+/*             // Only load once
+               if (isset(static::$loaded[__METHOD__]))
+               {
+                       return;
+               }
+
+               JHtml::_('script', 'system/core.js', false, true);
+               static::$loaded[__METHOD__] = true;*/
+
+               return;
+       }
 }