original_string: public function basic()
      {
          if (!isset($this->request->get['noexpire'])) {
              header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 259200));
          }
  
          header("Content-type: application/x-javascript");
          $version = '';
          if (isset($this->request->get['v'])) {
              if (is_numeric($this->request->get['v'])) {
                  $version = $this->request->get['v'];
              }
          }
  
          /**
           * This file loads multiple surebert toolkit modules and javascript files
           * and puts them all into one large file for faster load times
           */
          $surebert = Array(
              "sb",
              "browser.\$_GET",
              "math.rand",
              "cookies",
              "browser.removeSelection",
              "browser.getScrollPosition",
              "browser.scrollTo",
              "Element.prototype.show",
              "Element.prototype.hide",
              "Element.prototype.toggle",
              "Element.prototype.getDimensions",
              "Element.prototype.mv",
              "Element.prototype.getPosition",
              "Element.prototype.getNextSibling",
              "Element.prototype.getPreviousSibling",
              "Element.prototype.isOrHasParentOfClassName",
              "Element.prototype.containsElement",
              "Element.prototype.isWithin",
              "Element.prototype.getContaining",
              "Element.prototype.cssTransition",
              "css.rules",
              "swf",
              "css.styleSheet",
              "events.observer",
              "events.classListener",
              "events.idListener",
              "widget.notifier",
              "json.rpc2"
          );
  
          $protocol = isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443 ? 'https' : 'http';
  
  
          $str = "if(!sbBase){var sbBase = '" . $protocol . "://" . \sb\Gateway::$http_host . "/surebert/load/';}\n";
  
          $surebert = \array_merge($surebert, $this->request->args);
          $str .= $this->concatFiles($surebert, $version);
          return $str;
      }
code: public function basic()
      {
          if (!isset($this->request->get['noexpire'])) {
              header('Expires: ' . gmdate('D, d M Y H:i:s \G\M\T', time() + 259200));
          }
  
          header("Content-type: application/x-javascript");
          $version = '';
          if (isset($this->request->get['v'])) {
              if (is_numeric($this->request->get['v'])) {
                  $version = $this->request->get['v'];
              }
          }
  
          /**
           * This file loads multiple surebert toolkit modules and javascript files
           * and puts them all into one large file for faster load times
           */
          $surebert = Array(
              "sb",
              "browser.\$_GET",
              "math.rand",
              "cookies",
              "browser.removeSelection",
              "browser.getScrollPosition",
              "browser.scrollTo",
              "Element.prototype.show",
              "Element.prototype.hide",
              "Element.prototype.toggle",
              "Element.prototype.getDimensions",
              "Element.prototype.mv",
              "Element.prototype.getPosition",
              "Element.prototype.getNextSibling",
              "Element.prototype.getPreviousSibling",
              "Element.prototype.isOrHasParentOfClassName",
              "Element.prototype.containsElement",
              "Element.prototype.isWithin",
              "Element.prototype.getContaining",
              "Element.prototype.cssTransition",
              "css.rules",
              "swf",
              "css.styleSheet",
              "events.observer",
              "events.classListener",
              "events.idListener",
              "widget.notifier",
              "json.rpc2"
          );
  
          $protocol = isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443 ? 'https' : 'http';
  
  
          $str = "if(!sbBase){var sbBase = '" . $protocol . "://" . \sb\Gateway::$http_host . "/surebert/load/';}\n";
  
          $surebert = \array_merge($surebert, $this->request->args);
          $str .= $this->concatFiles($surebert, $version);
          return $str;
      }
code_tokens: public function basic ( ) { if ( ! isset ( $ this -> request -> get [ 'noexpire' ] ) ) { header ( 'Expires: ' . gmdate ( 'D, d M Y H:i:s \G\M\T' , time ( ) + 259200 ) ) ; } header ( "Content-type: application/x-javascript" ) ; $ version = '' ; if ( isset ( $ this -> request -> get [ 'v' ] ) ) { if ( is_numeric ( $ this -> request -> get [ 'v' ] ) ) { $ version = $ this -> request -> get [ 'v' ] ; } } /**
           * This file loads multiple surebert toolkit modules and javascript files
           * and puts them all into one large file for faster load times
           */ $ surebert = Array ( "sb" , "browser.\$_GET" , "math.rand" , "cookies" , "browser.removeSelection" , "browser.getScrollPosition" , "browser.scrollTo" , "Element.prototype.show" , "Element.prototype.hide" , "Element.prototype.toggle" , "Element.prototype.getDimensions" , "Element.prototype.mv" , "Element.prototype.getPosition" , "Element.prototype.getNextSibling" , "Element.prototype.getPreviousSibling" , "Element.prototype.isOrHasParentOfClassName" , "Element.prototype.containsElement" , "Element.prototype.isWithin" , "Element.prototype.getContaining" , "Element.prototype.cssTransition" , "css.rules" , "swf" , "css.styleSheet" , "events.observer" , "events.classListener" , "events.idListener" , "widget.notifier" , "json.rpc2" ) ; $ protocol = isset ( $ _SERVER [ 'SERVER_PORT' ] ) && $ _SERVER [ 'SERVER_PORT' ] == 443 ? 'https' : 'http' ; $ str = "if(!sbBase){var sbBase = '" . $ protocol . "://" . \ sb \ Gateway :: $ http_host . "/surebert/load/';}\n" ; $ surebert = \ array_merge ( $ surebert , $ this -> request -> args ) ; $ str .= $ this -> concatFiles ( $ surebert , $ version ) ; return $ str ; }
docstring: Serves out the most common surebert toolkit files
  @servable true
docstring_tokens: Serves out the most common surebert toolkit files