Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

Theme functions are now using Drupal.theme directly instead of declaring themselves in Drupal.theme.prototype where some workaround code was needed to make Drupal.theme() behave as intended.

Drupal 7

Drupal.theme.prototype.myThemeFunction = function (options) {
  var markup = '';
  return markup;
};

Drupal 8

Drupal.theme.myThemeFunction = function (options) {
  var markup = '';
  return markup;
};
Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done