merge
authorTim L <lebot@rpi.edu>
Sun, 25 Nov 2012 17:48:32 -0500
changeset 5025 fc311b902717
parent 5024 5aa33a4384d4 (current diff)
parent 5023 e5d3de70b094 (diff)
child 5026 fb223c268c28
merge
--- a/model/prov-magic.js	Sun Nov 25 17:48:20 2012 -0500
+++ b/model/prov-magic.js	Sun Nov 25 17:48:32 2012 -0500
@@ -16,11 +16,15 @@
 
 /* A function to add a link to colored-coded diffs next to previous version URI */
 function setColoredDiffs () {
+    setColoredDiffsForFile('diff.html');
+}
+
+function setColoredDiffsForFile (diff_file) {
     $('dt').each(function(index) {
         var content=$(this).text();
         if (content== "Previous version:") {
             console.log( "content " +  content);
-	    $(this).next().append(" ").append($('<a>').attr('href','diff.html').append("(colored-coded diff)"));
+	    $(this).next().append(" ").append($('<a>').attr('href',diff_file).append("(colored-coded diff)"));
         }
     })
 }
--- a/model/prov-n.html	Sun Nov 25 17:48:20 2012 -0500
+++ b/model/prov-n.html	Sun Nov 25 17:48:32 2012 -0500
@@ -54,6 +54,10 @@
 -->
 
     <script class="remove">
+function setColoredDiffs () {
+    setColoredDiffsForFile('diff-n.html');
+}
+
       $(document).ready(function(){
         // if grammar is in a string:
         $('#grammar_div').html(grammar_string);
--- a/model/releases/CR-prov-n-20121211/Overview.html	Sun Nov 25 17:48:20 2012 -0500
+++ b/model/releases/CR-prov-n-20121211/Overview.html	Sun Nov 25 17:48:32 2012 -0500
@@ -1,3 +1,4 @@
+
 <!DOCTYPE html>
 <html lang="en" dir="ltr">
 <head> 
@@ -800,7 +801,7 @@
     
     
       <dt>Previous version:</dt>
-      <dd><a href="http://www.w3.org/TR/2012/WD-prov-n-20120724/">http://www.w3.org/TR/2012/WD-prov-n-20120724/</a> <a href="diff.html">(colored-coded diff)</a></dd>
+      <dd><a href="http://www.w3.org/TR/2012/WD-prov-n-20120724/">http://www.w3.org/TR/2012/WD-prov-n-20120724/</a> <a href="diff-n.html">(colored-coded diff)</a></dd>
     
     
     <dt>Editors:</dt>