code: function () {
        $sgCodeContainer // Has class sg-view-container.
          .css('bottom', -$document.outerHeight())
          .addClass('anim-ready');
  
        // Make sure the close button handles the click.
        $('#sg-code-close-btn').click(function (e) {
          e.preventDefault();
          codeViewer.closeCode();
        });
  
        // Make sure the click events are handled on the HTML tab.
        $(codeViewer.ids.e).click(function (e) {
          e.preventDefault();
          codeViewer.swapCode('e');
        });
  
        // Make sure the click events are handled on the Mustache tab.
        $(codeViewer.ids.m).click(function (e) {
          e.preventDefault();
          codeViewer.swapCode('m');
        });
      }
docs: Add the basic markup and events for the code container.