original_string: public static function jsCall($file, $nest)
      {
          if (strpos($file, 'http://') !== false) {
              $path = $file.'.js';
          } else {
              if ($nest) {
                  $file = str_replace('.', '/', $file);
                  $path = path().'assets/js/'.$file.'.js';
              } else {
                  $path = $file;
              }
          }
  
          self::jsTag($path);
      }
code: public static function jsCall($file, $nest)
      {
          if (strpos($file, 'http://') !== false) {
              $path = $file.'.js';
          } else {
              if ($nest) {
                  $file = str_replace('.', '/', $file);
                  $path = path().'assets/js/'.$file.'.js';
              } else {
                  $path = $file;
              }
          }
  
          self::jsTag($path);
      }
code_tokens: public static function jsCall ( $ file , $ nest ) { if ( strpos ( $ file , 'http://' ) !== false ) { $ path = $ file . '.js' ; } else { if ( $ nest ) { $ file = str_replace ( '.' , '/' , $ file ) ; $ path = path ( ) . 'assets/js/' . $ file . '.js' ; } else { $ path = $ file ; } } self :: jsTag ( $ path ) ; }
docstring: The process to JS HTML Tag.
  
  @param string $file
  @param bool   $nest
  
  @return null
docstring_tokens: The process to JS HTML Tag .