File tree Expand file tree Collapse file tree 1 file changed +1
-32
lines changed
lesson_03/quiz/src/quizzes Expand file tree Collapse file tree 1 file changed +1
-32
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,12 @@ import { AmiyahJonesQuiz } from './amiyah_jones_quiz.js';
3
3
import { AngelicaCQuiz } from './angelica_c_quiz.js' ;
4
4
import { AnotherQuiz } from './another_quiz.js' ;
5
5
import { AnthonyMaysQuiz } from './anthony_mays_quiz.js' ;
6
- import { XavierCruzQuiz } from './xavier_cruz_quiz.js' ;
7
- import { DasiaEnglishQuiz } from './dasia_english_quiz.js' ;
8
6
import { ChigazoGrahamsQuiz } from './chigazo_graham_quiz.js' ;
9
7
import { DasiaEnglishQuiz } from './dasia_english_quiz.js' ;
10
8
import { JosephCaballeroQuiz } from './joseph_caballero_quiz.js' ;
11
9
import { LjMcwilliamsQuiz } from './lj_mcwilliams_quiz.js' ;
12
10
import { OyeyemiJimohQuiz } from './oyeyemi_jimoh_quiz.js' ;
13
11
import { XavierCruzQuiz } from './xavier_cruz_quiz.js' ;
14
- import { OyeyemiJimohQuiz } from './oyeyemi_jimoh_quiz.js' ;
15
12
import { YafiahAbdullahQuiz } from './yafiah_abdullah_quiz.js' ;
16
13
17
14
export const Quizzes = Symbol . for ( 'Quizzes' ) ;
@@ -27,36 +24,8 @@ const QUIZ_PROVIDERS = [
27
24
DasiaEnglishQuiz ,
28
25
ChigazoGrahamsQuiz ,
29
26
AmiyahJonesQuiz ,
30
- LjMcwilliamsQuiz ,
31
- ] ;
32
-
33
- @Module ( {
34
- providers : [
35
- ...QUIZ_PROVIDERS ,
36
- {
37
- provide : Quizzes ,
38
- useFactory : ( ...args ) => [ ...args ] ,
39
- inject : QUIZ_PROVIDERS ,
40
- } ,
41
- ] ,
42
- } )
43
- export class QuizzesModule { }
44
-
45
- export const Quizzes = Symbol . for ( 'Quizzes' ) ;
46
-
47
- // Add your quiz provider here.
48
- const QUIZ_PROVIDERS = [
49
- AnthonyMaysQuiz ,
50
- YafiahAbdullahQuiz ,
51
- AnotherQuiz ,
52
- JosephCaballeroQuiz ,
53
- AngelicaCQuiz ,
54
- OyeyemiJimohQuiz ,
55
- DasiaEnglishQuiz ,
56
- ChigazoGrahamsQuiz ,
57
- AmiyahJonesQuiz ,
58
- LjMcwilliamsQuiz ,
59
27
XavierCruzQuiz ,
28
+ LjMcwilliamsQuiz ,
60
29
] ;
61
30
62
31
@Module ( {
You can’t perform that action at this time.
0 commit comments