includes/application.php
/**
   * Renders a link to all JavaScript files.
   *
   * Note: Some of these files may not appear after `git clone`. In
   *       order to have these files appear, execute `grunt` in a CLI.
   *
   *       View the Development section within README.md for more details.
   *
   * @return String
   */
Renders a link to all JavaScript files.
Note: Some of these files may not appear after `git clone`. In
order to have these files appear, execute `grunt` in a CLI.

View the Development section within README.md for more details.

@return String
Renders a link to all JavaScript files . Note : Some of these files may not appear after ` git clone ` . In order to have these files appear execute ` grunt ` in a CLI . View the Development section within README . md for more details . @return String
public function renderScripts() {
    $html  = "";
    $files = array(
      "jquery-3.1.1.min.js",
      "bootstrap-3.3.7.min.js",
      "dataTables-1.10.12.min.js",
      "dataTables-bootstrap-1.10.12.min.js",
      "hsn.js",
      "hsn-videojs.js",
      "videojs-playlist-ui.js",
      "videojs-playlist.js"
    );
    if ($this->isManuscriptViewer) {
      $books = array(
        "jquery-ui-1.12.0.min.js",
        "jquery.browser.min.js",
        "dragscrollable.js",
        "jquery.colorbox-min.js",
        "jquery.ui.ipad.js",
        "jquery.bt.min.js",
        "book-reader.js",
      );
      foreach ($books as $file) {
        array_push($files, 'bookreader/' . $file);
      }
      array_push($files, 'hsn-book-reader.js');
    }
    foreach ($files as $file) {
      $html .= '<script src="' . $this->url . 'js/' . $file . '"></script>';
    }
    return $html;
  }
public function renderScripts ( ) { $ html = " " ; $ files = array ( " jquery-3.1.1.min.js " , " bootstrap-3.3.7.min.js " , " dataTables-1.10.12.min.js " , " dataTables-bootstrap-1.10.12.min.js " , " hsn.js " , " hsn-videojs.js " , " videojs-playlist-ui.js " , " videojs-playlist.js " ) ; if ( $ this -> isManuscriptViewer ) { $ books = array ( " jquery-ui-1.12.0.min.js " , " jquery.browser.min.js " , " dragscrollable.js " , " jquery.colorbox-min.js " , " jquery.ui.ipad.js " , " jquery.bt.min.js " , " book-reader.js " , ) ; foreach ( $ books as $ file ) { array_push ( $ files , 'bookreader/' . $ file ) ; } array_push ( $ files , 'hsn-book-reader.js' ) ; } foreach ( $ files as $ file ) { $ html .= '<script src="' . $ this -> url . 'js/' . $ file . '"></script>' ; } return $ html ; }
Renders a link to all JavaScript files.
Renders a link to all JavaScript files .
/*"video.min.js",*/ // Append files that need to be rendered for manuscript-viewer.php.