Git Product home page Git Product logo

ember-in-element-polyfill's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar ember-tomster avatar gitkrystan avatar jakesjews avatar simonihmig avatar techn1x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ember-in-element-polyfill's Issues

Does not account for replace by default semantics (or `insertBefore=null`)

This polyfill is not conforming to the final public API from the RFC, specifically this section:

There is however one part of the behavior that the core team wants to make explicit before promoting the private API to public, and that is how the content is added to the destination when there is other content already there.

The desired behavior is that, by default, the rendered content will replace all the content of the destination, effectively becoming the its innerHTML. In the current behaviour the rendered content is appended as the end of any existing content. This will still be supported by passing insertBefore=null, but it will not be the default anymore. Any other value passed to insertBefore must produce an error.

Thoughts on moving into ember-polyfills org?

I've made an ember-polyfills org and moved all of the polyfills I've written into it. The idea is roughly to increase bus factor while also increasing discoverability.

What do you think about moving this repo into that org? I'll happily add you as an owner there...

Error: Assertion Failed: A component or helper named "in-element" could not be found

Thanks for your assistance the other day - I've managed to get in-element working now - so that was much appreciated.

I'm using the polyfil on on a change I'm making to the ember-cli-photoswipe addon.

One issue I've encountered is that while the polyfill works fine in the dummy application provided with the addon; when I try to use the updated version of photoswipe in a real application the polyfill is installed but is not found. I get the error message:
Error: Assertion Failed: A component or helper named "in-element" could not be found.

If I manually install the polyfill on the real world application then photoswipe works.
I don't understand why this is as I have the polyfill in the dependencies section of the package.json.
https://github.com/MrChriZ/ember-cli-photoswipe/tree/useInElement

Am I missing something obvious?

DEPRECATION glimmer.private-in-element

It looks like you are transforming all in-element to -in-element what about ember versions that has the native in-element ?
I get the following error when starting my app:
Capture d’écran 2020-12-28 à 15 19 20

I'm using Ember 3.20 and ember-leaflet:4.1.1 which use your library internally

Release 1.0

Howdy folks?

Any chance we can get a 1.0 version of this? It seems to be used by loads of people but I think it would be better to get it into "proper semver" if at all possible 🤔

Any thoughts?

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.