function GradebookCategorySettings($container) {
  this.$container = $container;
  this.$table = this.$container.find("table");

  // only if categories are enabled
  if (this.$table.length > 0) {
    this.setupSortableCategories();
    this.setupKeyboardSupport();
  }
}
/**************************************************************************************
 * A GradebookCategorySettings to encapsulate all the category settings features 
 */
A GradebookCategorySettings to encapsulate all the category settings features
A GradebookCategorySettings to encapsulate all the category settings features
function GradebookCategorySettings($container) {
  this.$container = $container;
  this.$table = this.$container.find("table");
  if (this.$table.length > 0) {
    this.setupSortableCategories();
    this.setupKeyboardSupport();
  }
}
function GradebookCategorySettings ( $container ) { this . $container = $container ; this . $table = this . $container . find ( "table" ) ; if ( this . $table . length > 0 ) { this . setupSortableCategories ( ) ; this . setupKeyboardSupport ( ) ; } }
A GradebookCategorySettings to encapsulate all the category settings features
A GradebookCategorySettings to encapsulate all the category settings features
// only if categories are enabled