shareon/src/index.js

9 lines
151 B
JavaScript

import { init } from "./shareon";
const s = document.currentScript;
if (s && s.hasAttribute("init")) {
init();
}
export { init } from "./shareon";