More comment.
[mkws-moved-to-github.git] / src / mkws-core.js
index da57e94..61cccdc 100644 (file)
@@ -162,8 +162,9 @@ if (mkws_config == null || typeof mkws_config != 'object') {
 
 
     // The following functions are dispatchers for team methods that
-    // are called from the UI using a te3am-name rather than implicit
-    // context.
+    // are called from the UI using a team-name rather than implicit
+    // context. Apart from mkws.log, they are the ONLY public UI to
+    // this module.
     mkws.switchView = function(tname, view) {
        mkws.teams[tname].switchView(view);
     }
@@ -275,7 +276,7 @@ if (mkws_config == null || typeof mkws_config != 'object') {
            }
            var status = $(data).find("status");
            if (status.text() != "OK") {
-               alert("service proxy auth repsonse status: " + status.text() + ", give up!");
+               alert("service proxy auth response status: " + status.text() + ", give up!");
                return;
            }
 
@@ -296,7 +297,6 @@ if (mkws_config == null || typeof mkws_config != 'object') {
 
 
     $(document).ready(function() {
-       log("on load ready");
        defaultMkwsConfig();
 
        if (mkws_config.query_width < 5 || mkws_config.query_width > 150) {