--- 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');