Skip to content

Commit

Permalink
Fixes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertPeek committed Jan 7, 2022
1 parent 4521d3c commit 199cb46
Show file tree
Hide file tree
Showing 9 changed files with 332 additions and 328 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ For a guide on the difference between using two curly braces and three curly bra
No known limitations.

----------------------------
**Version number:** 4.1.1
**Version number:** 4.2.0
**Framework versions:** 5.8+
**Author / maintainer:** DeltaNet, forked from [adapt-contrib-assessmentResults](https://github.com/adaptlearning/adapt-contrib-assessmentResults)
**Accessibility support:** WAI AA
Expand Down
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "adapt-contrib-assessmentResults-audio",
"version": "4.1.1",
"version": "4.2.0",
"framework": ">=5.8",
"homepage": "https://github.com/deltanet/adapt-contrib-assessmentResults-audio",
"issues": "https://github.com/deltanet/adapt-contrib-assessmentResults-audio/issues",
"component" : "assessmentResultsAudio",
"targetAttribute": "_assessmentResultsAudio",
"displayName" : "Assessment Results Audio",
"description": "An audio enabled component used to display a single assessment's results",
"main": "/js/adapt-contrib-assessmentResults-audio.js",
Expand Down
2 changes: 1 addition & 1 deletion example.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"_id": "c-05",
"_parentId": "b-05",
"_type": "component",
"_component": "assessmentResults",
"_component": "assessmentResultsAudio",
"_classes": "",
"_layout": "full",
"title": "Results",
Expand Down
16 changes: 6 additions & 10 deletions js/adapt-contrib-assessmentResults-audio.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
define([
'core/js/adapt',
'./assessmentResultsAudioModel',
'./assessmentResultsAudioView'
], function(Adapt, AssessmentResultsAudioModel, AssessmentResultsAudioView) {

return Adapt.register("assessmentResultsAudio", {
model: AssessmentResultsAudioModel,
view: AssessmentResultsAudioView
});
import Adapt from 'core/js/adapt';
import AssessmentResultsAudioModel from './assessmentResultsAudioModel';
import AssessmentResultsAudioView from './assessmentResultsAudioView';

export default Adapt.register('assessmentResultsAudio', {
model: AssessmentResultsAudioModel,
view: AssessmentResultsAudioView
});
Loading

0 comments on commit 199cb46

Please sign in to comment.