original_string: function get_required_javascript() {
          parent::get_required_javascript();
          $arguments = array(
              'instanceid' => $this->instance->id
          );
          $this->page->requires->string_for_js('viewallcourses', 'moodle');
          $this->page->requires->js_call_amd('block_navigation/navblock', 'init', $arguments);
      }
code: function get_required_javascript() {
          parent::get_required_javascript();
          $arguments = array(
              'instanceid' => $this->instance->id
          );
          $this->page->requires->string_for_js('viewallcourses', 'moodle');
          $this->page->requires->js_call_amd('block_navigation/navblock', 'init', $arguments);
      }
code_tokens: function get_required_javascript ( ) { parent :: get_required_javascript ( ) ; $ arguments = array ( 'instanceid' => $ this -> instance -> id ) ; $ this -> page -> requires -> string_for_js ( 'viewallcourses' , 'moodle' ) ; $ this -> page -> requires -> js_call_amd ( 'block_navigation/navblock' , 'init' , $ arguments ) ; }
docstring: Gets Javascript that may be required for navigation
docstring_tokens: Gets Javascript that may be required for navigation