Add demo credentials.
[mkwsxb-moved-to-github.git] / mkwsref / mkwsref / static / js / src / student.js
1 /* Javascript for MKWSRef. */
2 window.mkws_noready = true;
3 window.mkws_config = {sp_auth_credentials: "mkws/mkws"}; 
4 require.config({
5   paths: {
6     mkws: "//mkws.indexdata.com/mkws-compl-tmpl",
7   },
8   shim: {
9     mkws: {
10       exports: "mkws"
11     },
12   }
13 });
14 function MKWSRef(runtime, element) {
15   require(['mkws'], function() { 
16     console.log(mkws);
17     mkws.init("XBlock initialised.", element);
18   } );
19 }