<commit_before>Template.course.created = function () {
    // Set the empty active lesson ID variable
    activeLessonID = new ReactiveVar(undefined);
};
<commit_msg>Add singleCourse subscription; courseId variable<commit_after>Template.course.created = function () {
  // Get reference to template instance
  var instance = this;

  // Get reference to router
  var router = Router.current();

  // Get course ID from router
  instance.courseId = router.params._id;

  // Subscribe to single course
  instance.subscribe('singleCourse', instance.courseId);

  // Set the empty active lesson ID variable
  activeLessonID = new ReactiveVar(undefined);
};

{'fraction_non_alphanumeric': 0.09647779479326186, 'fraction_numerical': 0.0, 'mean_word_length': 4.030769230769231, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1862373', 'n_tokens_mistral': 177, 'n_tokens_neox': 170, 'n_words': 56}