init opencollective

This commit is contained in:
zutto 2024-06-15 14:06:38 +03:00
parent 9c8be1a264
commit 3dd032a7f9
3 changed files with 4 additions and 3 deletions

View file

@ -4,10 +4,11 @@ import '../css/tripledot.css';
import { MyIP } from './plugins/myip.js';
import { Time } from './plugins/time.js';
import { OpenCollective } from './plugins/opencollective.js';
(function() {
var time = new Time();
var myip = new MyIP();
var opencollective = new OpenCollective();
})();

View file

@ -1,4 +1,4 @@
import { html } from '../html.js';
import { vhtml } from './vhtml.js';
export class shield extends vhtml {
constructor() {
super();

View file

@ -9,7 +9,7 @@ export class OpenCollective extends shield {
this._ip = "";
this._source = "https://ip.zutto.fi/"
vj.watcher.watch('[content="myip"]', (element) => {
vj.watcher.watch('[content="opencollective"]', (element) => {
this.loadingStart(element);
this.ip().then((data) => {
try {