Skip to content

Commit

Permalink
Removed comment that was not too useful and sometimes incorrect. #2614
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokiterashima committed Sep 16, 2020
1 parent e7c062e commit aba1a5e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ class EditRubricComponentController {
this.summernoteRubricHTML = this.ProjectService.replaceAssetPaths(this.node.rubric);
}

/**
* Creates and returns a function so that within the function the 'this' object will be this
* authorNotebookController.
*/
createOpenAssetChooserFunction() {
return (params: any) => {
this.ProjectAssetService.openAssetChooser(params).then(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ class AuthorNotebookController {
this.setReportIdToAuthoringNote(note.reportId, authoringReportNote);
}

/**
* Creates and returns a function so that within the function the 'this' object will be this
* authorNotebookController.
*/
createOpenAssetChooserFunction() {
return (params: any) => {
this.ProjectAssetService.openAssetChooser(params).then(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ class RubricAuthoringController {
);
}

/**
* Creates and returns a function so that within the function the 'this' object will be this
* rubricAuthoringController.
*/
createOpenAssetChooserFunction() {
return (params: any) => {
this.ProjectAssetService.openAssetChooser(params).then(
Expand Down
4 changes: 0 additions & 4 deletions src/main/webapp/wise5/components/componentController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,6 @@ class ComponentController {
this.updateAdvancedAuthoringView();
}

/**
* Creates and returns a function so that within the function the 'this' object will be this
* rubricAuthoringController.
*/
createOpenAssetChooserFunction() {
return (params: any) => {
this.openAssetChooser(params);
Expand Down

0 comments on commit aba1a5e

Please sign in to comment.