mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 00:58:32 +02:00
Hacky Yaak import complete!
This commit is contained in:
13
src-tauri/plugins/yaak-importer/out/index.js
Normal file
13
src-tauri/plugins/yaak-importer/out/index.js
Normal file
@@ -0,0 +1,13 @@
|
||||
function u(r) {
|
||||
let e;
|
||||
try {
|
||||
e = JSON.parse(r);
|
||||
} catch {
|
||||
return;
|
||||
}
|
||||
if (t(e) && e.yaakSchema === 1) return e.resources;
|
||||
}
|
||||
function t(r) {
|
||||
return Object.prototype.toString.call(r) === '[object Object]';
|
||||
}
|
||||
export { t as isJSObject, u as pluginHookImport };
|
||||
Reference in New Issue
Block a user