--- 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>