style: fix linting issues met Prettier
This commit is contained in:
		
							parent
							
								
									aa1a85e64e
								
							
						
					
					
						commit
						2a2881ec30
					
				
					 84 changed files with 846 additions and 1013 deletions
				
			
		|  | @ -3,11 +3,11 @@ | |||
|         <h2 id="gift-q1-title" class="gift-title">MC basic</h2> | ||||
|         <p id="gift-q1-stem" class="gift-stem">Are you following along well with the class?</p> | ||||
|         <div class="gift-choice-div"> | ||||
|             <input value="0" name="gift-q1-choices" id="gift-q1-choice-0" type="radio"> | ||||
|             <input value="0" name="gift-q1-choices" id="gift-q1-choice-0" type="radio" /> | ||||
|             <label for="gift-q1-choice-0">[object Object]</label> | ||||
|         </div> | ||||
|         <div class="gift-choice-div"> | ||||
|             <input value="1" name="gift-q1-choices" id="gift-q1-choice-1" type="radio"> | ||||
|             <input value="1" name="gift-q1-choices" id="gift-q1-choice-1" type="radio" /> | ||||
|             <label for="gift-q1-choice-1">[object Object]</label> | ||||
|         </div> | ||||
|     </div> | ||||
|  |  | |||
|  | @ -1,9 +1,9 @@ | |||
| import {LearningObjectExample} from "../learning-object-example"; | ||||
| import {LearningObject} from "../../../../src/entities/content/learning-object.entity"; | ||||
| import {loadTestAsset} from "../../../test-utils/load-test-asset"; | ||||
| import {EnvVars, getEnvVar} from "../../../../src/util/envvars"; | ||||
| import {Language} from "../../../../src/entities/content/language"; | ||||
| import {DwengoContentType} from "../../../../src/services/learning-objects/processing/content-type"; | ||||
| import { LearningObjectExample } from '../learning-object-example'; | ||||
| import { LearningObject } from '../../../../src/entities/content/learning-object.entity'; | ||||
| import { loadTestAsset } from '../../../test-utils/load-test-asset'; | ||||
| import { EnvVars, getEnvVar } from '../../../../src/util/envvars'; | ||||
| import { Language } from '../../../../src/entities/content/language'; | ||||
| import { DwengoContentType } from '../../../../src/services/learning-objects/processing/content-type'; | ||||
| 
 | ||||
| const example: LearningObjectExample = { | ||||
|     createLearningObject: () => { | ||||
|  | @ -11,14 +11,14 @@ const example: LearningObjectExample = { | |||
|         learningObject.hruid = `${getEnvVar(EnvVars.UserContentPrefix)}test_multiple_choice`; | ||||
|         learningObject.language = Language.English; | ||||
|         learningObject.version = 1; | ||||
|         learningObject.title = "Multiple choice question for testing"; | ||||
|         learningObject.description = "This multiple choice question was only created for testing purposes."; | ||||
|         learningObject.title = 'Multiple choice question for testing'; | ||||
|         learningObject.description = 'This multiple choice question was only created for testing purposes.'; | ||||
|         learningObject.contentType = DwengoContentType.GIFT; | ||||
|         learningObject.content = loadTestAsset("learning-objects/test-multiple-choice/content.txt"); | ||||
|         learningObject.content = loadTestAsset('learning-objects/test-multiple-choice/content.txt'); | ||||
|         return learningObject; | ||||
|     }, | ||||
|     createAttachment: {}, | ||||
|     getHTMLRendering: () => loadTestAsset("learning-objects/test-multiple-choice/rendering.html").toString() | ||||
|     getHTMLRendering: () => loadTestAsset('learning-objects/test-multiple-choice/rendering.html').toString(), | ||||
| }; | ||||
| 
 | ||||
| export default example; | ||||
|  |  | |||
		Reference in a new issue
	
	 Lint Action
						Lint Action