We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc79141 commit 61c053fCopy full SHA for 61c053f
src/knowledge-collection-tools.js
@@ -404,17 +404,3 @@ Parsing failed due to presence of unnamed (blank node) graphs. Please ensure all
404
function isEmptyObject(obj) {
405
return Object.keys(obj).length === 0 && obj.constructor === Object;
406
}
407
-
408
-function escapeLiteral(value) {
409
- const ESCAPE_MAP = {
410
- '"': '\\"',
411
- "\\": "\\\\",
412
- "\b": "\\b",
413
- "\f": "\\f",
414
- "\n": "\\n",
415
- "\r": "\\r",
416
- "\t": "\\t",
417
- };
418
419
- return value.replace(/["\\\b\f\n\r\t]/g, (char) => ESCAPE_MAP[char]);
420
-}
0 commit comments