shareon/src/index.js

10 lines
199 B
JavaScript
Raw Normal View History

2022-02-08 12:56:39 -05:00
import initializeShareon from "./shareon";
2020-07-23 05:13:21 -04:00
2022-02-10 14:32:40 -05:00
// TODO: update README
const s = document.currentScript;
if (s && s.hasAttribute("init")) {
2020-07-23 05:13:21 -04:00
initializeShareon();
2022-02-10 14:32:40 -05:00
}
2020-07-23 05:13:21 -04:00
export { default } from "./shareon";