mkwsref should only init its own elements
authorJason Skomorowski <jason@indexdata.com>
Tue, 19 Aug 2014 21:25:44 +0000 (17:25 -0400)
committerJason Skomorowski <jason@indexdata.com>
Tue, 19 Aug 2014 21:25:44 +0000 (17:25 -0400)
mkwsbiblio/mkwsbiblio/static/html/.student.html.swo [deleted file]
mkwsref/mkwsref/static/js/src/student.js

diff --git a/mkwsbiblio/mkwsbiblio/static/html/.student.html.swo b/mkwsbiblio/mkwsbiblio/static/html/.student.html.swo
deleted file mode 100644 (file)
index cc8c071..0000000
Binary files a/mkwsbiblio/mkwsbiblio/static/html/.student.html.swo and /dev/null differ
index fb70a1c..952290e 100644 (file)
@@ -12,7 +12,6 @@ require.config({
 function MKWSRef(runtime, element) {
   require(['mkws'], function() { 
     console.log(mkws);
-    //mkws.init("XBlock initialised.", element);
-    mkws.init("XBlock initialised.");
+    mkws.init("XBlock initialised.", element);
   } );
 }