docs: function () {
              // empty container and remove all class names that contain "crocodoc"
              $el.empty().removeClass(function (i, cls) {
                  var match = cls.match(new RegExp('crocodoc\\S+', 'g'));
                  return match && match.join(' ');
              });
  
              // remove the stylesheet
              $(stylesheetEl).remove();
  
              if ($assetsPromise) {
                  $assetsPromise.abort();
              }
          }