prov-n html5 pubrules compliance
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Sun, 25 Nov 2012 00:31:13 +0000
changeset 4949 c2ab9294bab1
parent 4948 ff748ed0a191
child 4950 9e8bc6fe1c86
prov-n html5 pubrules compliance
model/prov-magic.js
--- a/model/prov-magic.js	Sun Nov 25 00:21:05 2012 +0000
+++ b/model/prov-magic.js	Sun Nov 25 00:31:13 2012 +0000
@@ -1,4 +1,9 @@
+/**
+     A few DOM Manipulation functions for prov-dm and prov-n.
 
+*/
+
+/* A function to rename Authors: into Contributors: */
 function setContributors () {
     $('dt').each(function(index) {
         var content=$(this).text();
@@ -9,6 +14,7 @@
     })
 }
 
+/* A function to add a link to colored-coded diffs next to previous version URI */
 function setColoredDiffs () {
     $('dt').each(function(index) {
         var content=$(this).text();
@@ -20,7 +26,8 @@
 }
 
 
-
+/* A function to replace a glossary reference by the definition found in the glossary.
+   */
 function updateGlossaryRefs() {
     $('.glossary-ref').each(function(index) {
         var ref=$(this).attr('data-ref');