-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove/clean up AngularJS Modules: remove all downgradeComponent exce…
…pt AT and CM
- Loading branch information
1 parent
b7f9165
commit ebe31c0
Showing
13 changed files
with
74 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 9 additions & 17 deletions
26
.../wise5/classroomMonitor/classroomMonitorComponents/manageStudents/manageStudentsModule.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,11 @@ | ||
import * as angular from 'angular'; | ||
import { downgradeComponent } from '@angular/upgrade/static'; | ||
import { ManageStudentsComponent } from './manage-students/manage-students.component'; | ||
|
||
angular | ||
.module('manageStudents', []) | ||
.directive( | ||
'manageStudentsComponent', | ||
downgradeComponent({ component: ManageStudentsComponent }) as angular.IDirectiveFactory | ||
) | ||
.config([ | ||
'$stateProvider', | ||
($stateProvider) => { | ||
$stateProvider.state('root.cm.manageStudents', { | ||
url: '/manage-students', | ||
component: 'manageStudentsComponent' | ||
}); | ||
} | ||
]); | ||
angular.module('manageStudents', []).config([ | ||
'$stateProvider', | ||
($stateProvider) => { | ||
$stateProvider.state('root.cm.manageStudents', { | ||
url: '/manage-students', | ||
component: 'manageStudentsComponent' | ||
}); | ||
} | ||
]); |
29 changes: 0 additions & 29 deletions
29
src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeProgress/nodeProgress.ts
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...sets/wise5/classroomMonitor/classroomMonitorComponents/studentProgress/studentProgress.ts
This file was deleted.
Oops, something went wrong.
6 changes: 1 addition & 5 deletions
6
src/assets/wise5/classroomMonitor/dataExport/data-export-angular-js-module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
src/assets/wise5/components/openResponse/openResponseAuthoringComponentModule.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
'use strict'; | ||
import * as angular from 'angular'; | ||
import './js/webfonts'; | ||
|
||
const themeModule = angular.module('theme', []); | ||
export default themeModule; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.