Allow using a hash to restore SARIF results from a cache and reuse them.

This commit is contained in:
Chris Gavin
2020-12-09 13:53:17 +00:00
parent 8cbc02a4c2
commit 8d1985f68f
2259 changed files with 241679 additions and 12226 deletions
+28
View File
@@ -0,0 +1,28 @@
// Generated by CoffeeScript 1.12.7
(function() {
var XMLDOMStringList;
module.exports = XMLDOMStringList = (function() {
function XMLDOMStringList(arr) {
this.arr = arr || [];
}
Object.defineProperty(XMLDOMStringList.prototype, 'length', {
get: function() {
return this.arr.length;
}
});
XMLDOMStringList.prototype.item = function(index) {
return this.arr[index] || null;
};
XMLDOMStringList.prototype.contains = function(str) {
return this.arr.indexOf(str) !== -1;
};
return XMLDOMStringList;
})();
}).call(this);