Giter Site home page Giter Site logo

Comments (5)

WebReflection avatar WebReflection commented on May 26, 2024

which Safari version ?

from document-register-element.

WebReflection avatar WebReflection commented on May 26, 2024

OK, I don't know what you are testing there … MooTools, custom-element.js … register.tag and ready, I think you are confusing what document.registerElement is + you might need to pre-define upfront the registration.

That being said, I see same thing with my Safari or Canary, please clean up all examples removing everything that is not this library and tell me what you would expect to see based on these specification and document.registerElement

Thanks!

from document-register-element.

kentaromiura avatar kentaromiura commented on May 26, 2024

Safari Version 6.0.1 (8536.26.14) on Osx 10.8.2,
MooTools presence is completely transparent (which is why is there, to test it doesn't break)
I just checked and in the last example (which should be working) there's a problem even with polymer polyfill when extending the prototype, for this issue it shouldn't matter as I expect the ready and createdCallback to be called which never happens, I'll close this issue and try to make a better example, you can safely delete this in the meantime

from document-register-element.

kentaromiura avatar kentaromiura commented on May 26, 2024

I confirm that the problem was related to the custom tag already present on the page not being loaded (even when your polyfill was the first script on the head),
I just tried with the latest version and the problem is gone,
http://jsfiddle.net/kentaromiura/33p8E/3/show/
now works correctly in both Safari and android stock browser;
also http://fiddle.jshell.net/u9uP7/4/ works better (it still have the error while trying to call an inherited methods, but that I suppose is a bug on my library) 👍

from document-register-element.

WebReflection avatar WebReflection commented on May 26, 2024

thanks for double checking, let me know if there's anything else wrong here (maybe with another "ticket")

from document-register-element.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.