original_string: protected function get_jsrev() {
          global $CFG;
  
          if (empty($CFG->cachejs)) {
              $jsrev = -1;
          } else if (empty($CFG->jsrev)) {
              $jsrev = 1;
          } else {
              $jsrev = $CFG->jsrev;
          }
  
          return $jsrev;
      }
code: protected function get_jsrev() {
          global $CFG;
  
          if (empty($CFG->cachejs)) {
              $jsrev = -1;
          } else if (empty($CFG->jsrev)) {
              $jsrev = 1;
          } else {
              $jsrev = $CFG->jsrev;
          }
  
          return $jsrev;
      }
code_tokens: protected function get_jsrev ( ) { global $ CFG ; if ( empty ( $ CFG -> cachejs ) ) { $ jsrev = - 1 ; } else if ( empty ( $ CFG -> jsrev ) ) { $ jsrev = 1 ; } else { $ jsrev = $ CFG -> jsrev ; } return $ jsrev ; }
docstring: Determine the correct JS Revision to use for this load.
  
  @return int the jsrev to use.
docstring_tokens: Determine the correct JS Revision to use for this load .