prov-constraints staging
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Wed, 21 Nov 2012 08:48:15 +0000
changeset 4892 98762ff556c0
parent 4891 3fe5772dee88
child 4893 bfd2698bdc9b
prov-constraints staging
model/prov-constraints.html
--- a/model/prov-constraints.html	Wed Nov 21 08:36:12 2012 +0000
+++ b/model/prov-constraints.html	Wed Nov 21 08:48:15 2012 +0000
@@ -246,6 +246,16 @@
         updateRules();
         updateRulesRefs();
         updateFigCaptions();
+	if (typeof String.prototype.startsWith != 'function') {
+            String.prototype.startsWith = function (str) {
+					    return this.indexOf(str) == 0;
+					  };
+        }
+	if (typeof String.prototype.contains != 'function') {
+            String.prototype.contains  = function (str) {
+					    return this.indexOf(str) >= 0;
+					  };
+        }
 
 
 
@@ -380,7 +390,7 @@
           // Add extraReferences to bibliography database
           preProcess: [addExtraReferences, addProvReferences],
 
-          postProcess: [updateFigures, removeDataAttributes, setColoredDiffs],
+          postProcess: [updateFigures, removeDataAttributes, checkLinksToW3CReports, setColoredDiffs],
       };
     </script> 
   </head>