x-tag / core

The Heart of X-Tag
http://x-tag.github.io/
Other
1.25k stars 151 forks source link

Website :: Clock not operating properly on safari mobile #197

Open ghost opened 6 years ago

ghost commented 6 years ago

Clock isn’t appearing on iPad Pro safari browser or any of the browsers I have installed on my iPad.

I looked at the custom elements repo for possible explanations.

ghost commented 6 years ago

Just to give you some heads up I'm going to look around the apple dev community forums and sites to see if their are any answers for this. I will try to provide a screenshot, soon.

ghost commented 6 years ago

The only thing I've noticed on the application I've downloaded onto my I-Pad called Working Copy is that it says that the global.js file doesn't read the xtag from the cdn.

I'm not sure if that is from the testing machine or what. I will place the core dist into the draft repo I created to do more testing.

ghost commented 6 years ago

Below is V1

win.xtag = xtag;

  if (typeof define == 'function' && define.amd) define(xtag);

  doc.addEventListener('WebComponentsReady', function(){

    xtag.fireEvent(doc.body, 'DOMComponentsLoaded');

  });

and v2.

  if (typeof define === 'function' && define.amd) {

    define(xtag);

    define(XTagElement);

  }

  else if (typeof module !== 'undefined' && module.exports) {

    module.exports = { xtag: xtag, XTagElement: XTagElement };

  }

  else {

    window.xtag = xtag;

    window.XTagElement = XTagElement;

  }

It's not liking that for some reason I think...I can't know for certain ... sorry.

ghost commented 6 years ago

img_0004