Skip to content

Commit

Permalink
Merge pull request #11 from ramj-funtoot/mcq-refactoring-1.10.0
Browse files Browse the repository at this point in the history
Mcq refactoring 1.10.0
  • Loading branch information
sivashanmugam-funtoot authored Sep 4, 2018
2 parents 8bc3819 + 7834eae commit cfeaa2e
Show file tree
Hide file tree
Showing 14 changed files with 1,167 additions and 514 deletions.
92 changes: 46 additions & 46 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,65 +5,66 @@
"title": "Multiple Choice Question Unit Plugin",
"description": "Question Unit Plugin that enables creation of multiple choice questions.",
"publishedDate": "",
"languages": ["English"],
"languages": [
"English"
],
"categories": [],
"keywords": ["mcqplugin"],
"targets":[{
"id": "org.ekstep.questionset",
"ver": 1.0
}],
"editor":
{
"keywords": [
"mcqplugin"
],
"targets": [
{
"id": "org.ekstep.questionset",
"ver": 1.0
}
],
"editor": {
"main": "editor/plugin.js",
"dependencies": [
{
"type": "plugin",
"plugin": "org.ekstep.questionunit",
"ver": "1.0"
},
{
"type": "js",
"src": "editor/controllers/mcq-controller.js"
},
{
"type": "css",
"src": "editor/styles/style.css"
}]
{
"type": "plugin",
"plugin": "org.ekstep.questionunit",
"ver": "1.0"
},
{
"type": "js",
"src": "editor/controllers/mcq-controller.js"
},
{
"type": "css",
"src": "editor/styles/style.css"
}
]
},
"templates": [
{
"id": "horizontalMCQ",
"thumbnail": "editor/assets/mcq-horizontal.png",
"title": "Multiple Choice Question",
"disc": "Multiple choice items consist of a stem, the correct answer, keyed alternative, and distractors. The stem is the beginning part of the item that presents the item as a problem to be solved, a question asked of the respondent, or an incomplete statement to be completed, as well as any other relevant information.",
"category": "MCQ",
"editor":
{
"templateURL": "editor/templates/horizontal_template.html",
"controllerURL": "editor/controllers/horizontal_controller.js",
"template": "horizontalMCQ",
"controller": "QuestionFormController"
}
}],
"renderer":
{
{
"id": "horizontalMCQ",
"thumbnail": "editor/assets/mcq-horizontal.png",
"title": "Multiple Choice Question",
"disc": "Multiple choice items consist of a stem, the correct answer, keyed alternative, and distractors. The stem is the beginning part of the item that presents the item as a problem to be solved, a question asked of the respondent, or an incomplete statement to be completed, as well as any other relevant information.",
"category": "MCQ",
"editor": {
"templateURL": "editor/templates/horizontal_template.html",
"controllerURL": "editor/controllers/horizontal_controller.js",
"template": "horizontalMCQ",
"controller": "QuestionFormController"
}
}
],
"renderer": {
"main": "renderer/plugin.js",
"dependencies": [
{
"type": "css",
"src": "renderer/styles/style.css"
},
{
"type": "js",
"src": "renderer/template/grid_template.js"
},
{
"type": "js",
"src": "renderer/template/horizontal_template.js"
"type": "css",
"src": "renderer/styles/horizontal_and_vertical.css"
},
{
"type": "js",
"src": "renderer/template/vertical_template.js"
"src": "renderer/template/mcq-layouts.js"
},
{
"type": "js",
Expand All @@ -78,6 +79,5 @@
"type": "plugin",
"scope": "all"
}

]
}
}
Binary file modified renderer/assets/audio-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added renderer/assets/audio-icon2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added renderer/assets/down_arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added renderer/assets/music-blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added renderer/assets/tick_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
117 changes: 30 additions & 87 deletions renderer/plugin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cfeaa2e

Please sign in to comment.