Skip to content

Commit

Permalink
Remove Plausible for now
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
  • Loading branch information
jviotti committed May 2, 2024
1 parent 16034fa commit e85f341
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
8 changes: 0 additions & 8 deletions www/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,17 +127,9 @@ transform.addEventListener('click', () => {
const inputValue = editor.state.doc.toString()
const jsonValue = safeJSONParse(inputValue)
if (jsonValue === null) {
window.plausible('Invalid')
return onError(new Error('Invalid input JSON'))
}

window.plausible('Transform', {
props: {
from: fromValue,
to: toValue
}
})

alterschema(jsonValue, fromValue, toValue).then((result) => {
output.value = JSON.stringify(result, null, 2)
}).catch(onError)
Expand Down
7 changes: 0 additions & 7 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@
<link rel="manifest" href="manifest.webmanifest">

<link rel="stylesheet" href="main.css" type="text/css">

<script defer data-domain="alterschema.sourcemeta.com" src="https://plausible.io/js/script.outbound-links.js"></script>
<script>
window.plausible = window.plausible || function() {
(window.plausible.q = window.plausible.q || []).push(arguments);
};
</script>
</head>
<body>
<nav class="navbar navbar-dark navbar-expand-lg bg-dark">
Expand Down

0 comments on commit e85f341

Please sign in to comment.