Commit e50fad64 by Valera Rozuvan

Fix failing tender.

parent ba8faead
......@@ -80,7 +80,12 @@
"URI": "js/vendor/URI.min",
// externally hosted files
"tender": "//edxedge.tenderapp.com/tender_widget",
"tender": [
"//edxedge.tenderapp.com/tender_widget",
// if tender fails to load, fallback on a local file
// so that require doesn't fall over
"js/src/tender_fallback"
],
"mathjax": "//edx-static.s3.amazonaws.com/mathjax-MathJax-727332c/MathJax.js?config=TeX-MML-AM_HTMLorMML-full&delayStartupUntil=configured",
"youtube": [
// youtube URL does not end in ".js". We add "?noext" to the path so
......@@ -169,6 +174,9 @@
deps: ["backbone"],
exports: "Backbone.Paginator"
},
"tender": {
exports: 'Tender'
},
"youtube": {
exports: "YT"
},
......
console.error("Can't load Tender -- anything that relies on it will fail");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment