--- a/model/working-copy/glossary.html Mon Feb 20 12:26:57 2012 +0000
+++ b/model/working-copy/glossary.html Mon Feb 20 14:44:44 2012 +0000
@@ -8,7 +8,7 @@
otherwise; the world may be real or imaginary.
</div>
-<span class="glossary" id="glossary-activty">
+<span class="glossary" id="glossary-activity">
An <dfn id="concept-activity">Activity</dfn> is anything that can operate on entities. In particular, activities may produce, consume, or transform an entity. Activities that operate on digital entities may for example move, copy, or duplicate them.
</span>
@@ -41,7 +41,7 @@
</span>
<span class="glossary" id="glossary-accountEntity">
-A <dfn id="concept-accountEntity">accountentity</dfn> is an entity that is contains a bundle of provenance assertions.
+A <dfn id="concept-accountEntity">accountEntity</dfn> is an entity that is contains a bundle of provenance assertions.
</span>
<span class="glossary" id="glossary-provenance">
--- a/model/working-copy/glossary.js Mon Feb 20 12:26:57 2012 +0000
+++ b/model/working-copy/glossary.js Mon Feb 20 14:44:44 2012 +0000
@@ -3,7 +3,7 @@
// with <script src="glossary.js" class="remove"></script>
//Insert glossary definitions with the following
// <div class="glossary-ref" ref="glossary-generation"></div>
-glossary_hg='http://dvcs.w3.org/hg/prov/file/30b5f248a3c3/model/working-copy/glossary.html';
+glossary_hg='http://dvcs.w3.org/hg/prov/file/5549c0fb1393/model/working-copy/glossary.html';
glossary_string=
' ' +
'<html> ' +
@@ -15,7 +15,7 @@
' otherwise; the world may be real or imaginary. ' +
'</div> ' +
' ' +
-'<span class="glossary" id="glossary-activty"> ' +
+'<span class="glossary" id="glossary-activity"> ' +
'An <dfn id="concept-activity">Activity</dfn> is anything that can operate on entities. In particular, activities may produce, consume, or transform an entity. Activities that operate on digital entities may for example move, copy, or duplicate them. ' +
'</span> ' +
' ' +
@@ -48,7 +48,7 @@
'</span> ' +
' ' +
'<span class="glossary" id="glossary-accountEntity"> ' +
-'A <dfn id="concept-accountEntity">accountentity</dfn> is an entity that is contains a bundle of provenance assertions. ' +
+'A <dfn id="concept-accountEntity">accountEntity</dfn> is an entity that is contains a bundle of provenance assertions. ' +
'</span> ' +
' ' +
'<span class="glossary" id="glossary-provenance"> ' +
--- a/model/working-copy/prov-glossary.html Mon Feb 20 12:26:57 2012 +0000
+++ b/model/working-copy/prov-glossary.html Mon Feb 20 14:44:44 2012 +0000
@@ -21,12 +21,15 @@
function updateGlossaryRefs() {
$('.glossary-ref').each(function(index) {
var ref=$(this).attr('ref');
+ var span=$(this).attr('withspan')
// look up directly in the_glossary
//$(this).html(the_glossary[ref]);
// if glossary is in a string:
$('#'+ref+'.glossary').contents().clone().appendTo($(this));
$(this).attr('prov:hadOriginalSource',glossary_hg);
- $(this).children('dfn').replaceWith(function(){return $('<span>').addClass('dfn').append($(this).contents())});
+ if (span) {
+ $(this).children('dfn').replaceWith(function(){return $('<span>').addClass('dfn').append($(this).contents())});
+ }
});
}
$(document).ready(function(){
@@ -191,6 +194,8 @@
<div class="glossary-ref" ref="glossary-activity"></div><p></p>
+<div class="glossary-ref" ref="glossary-activity" withSpan="true"></div><p></p
+
<div class="glossary-ref" ref="glossary-agent"></div><p></p>
<div class="glossary-ref" ref="glossary-collection"></div><p></p>