Skip to content

Commit

Permalink
MDL-67301 mod_lti: dynamic registration
Browse files Browse the repository at this point in the history
  • Loading branch information
claudevervoort committed Oct 24, 2020
1 parent 5ecd01f commit 84e90d5
Show file tree
Hide file tree
Showing 26 changed files with 1,056 additions and 63 deletions.
2 changes: 1 addition & 1 deletion mod/lti/amd/build/tool_card_controller.min.js

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

2 changes: 1 addition & 1 deletion mod/lti/amd/build/tool_card_controller.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion mod/lti/amd/build/tool_configure_controller.min.js

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

2 changes: 1 addition & 1 deletion mod/lti/amd/build/tool_configure_controller.min.js.map

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions mod/lti/amd/src/tool_card_controller.js
Expand Up @@ -484,10 +484,7 @@
return toolTypeData;
}).then(function(toolTypeData) {
return templates.render('mod_lti/tool_card', toolTypeData);
}).then(function(renderResult) {
var html = renderResult[0];
var js = renderResult[1];

}).then(function(html, js) {
templates.replaceNode(element, html, js);
return;
}).catch(function() {
Expand Down

0 comments on commit 84e90d5

Please sign in to comment.