Added some code comments for clarity
authorDaniel Davis <ddavis@w3.org>
Wed, 04 Sep 2013 16:43:28 +0900
changeset 52 a17f441a38dc
parent 51 6ca4bfdb5788
child 53 32925c1f8f30
Added some code comments for clarity
js/w3c_talks.js
--- a/js/w3c_talks.js	Wed Sep 04 16:41:11 2013 +0900
+++ b/js/w3c_talks.js	Wed Sep 04 16:43:28 2013 +0900
@@ -79,6 +79,7 @@
         };
     }
     
+    // Check with the server that the access key is correct
     function checkKey(data) {
         try {
             var check = JSON.parse(data);
@@ -101,6 +102,7 @@
         }
     }
 
+    // Get the content attribute from a specific meta tag
     function getMetaTag(name) {
         var tag = document.querySelector('[name=' + name + ']');
         
@@ -148,6 +150,7 @@
         httpRequest.send(data);
     }
     
+    // Format and send the data-note attribute for a slide
     function sendNote(slide) {
         if (window.sessionStorage['accesskey']) {
             try {