original_string: public function includeJavascript($scripts)
      {
  
          $src = (!is_array($scripts)) ? Array($scripts) : $scripts;
          $html = '';
          foreach ($scripts as $s) {
              if (!strstr($s, '/')) {
                  $s = '/js/' . $s;
              }
              $html .= "\n" . '<script type="text/javascript" src="' . $s . '"></script>';
          }
  
          return $html;
      }
code: public function includeJavascript($scripts)
      {
  
          $src = (!is_array($scripts)) ? Array($scripts) : $scripts;
          $html = '';
          foreach ($scripts as $s) {
              if (!strstr($s, '/')) {
                  $s = '/js/' . $s;
              }
              $html .= "\n" . '<script type="text/javascript" src="' . $s . '"></script>';
          }
  
          return $html;
      }
code_tokens: public function includeJavascript ( $ scripts ) { $ src = ( ! is_array ( $ scripts ) ) ? Array ( $ scripts ) : $ scripts ; $ html = '' ; foreach ( $ scripts as $ s ) { if ( ! strstr ( $ s , '/' ) ) { $ s = '/js/' . $ s ; } $ html .= "\n" . '<script type="text/javascript" src="' . $ s . '"></script>' ; } return $ html ; }
docstring: Creates a javascript include tag
  @param $scripts array/string The file names or an array of file names to include
docstring_tokens: Creates a javascript include tag