Coder Social home page Coder Social logo

Comments (8)

linstula avatar linstula commented on July 16, 2024

Thanks for bringing this up. I'll look into this next chance I get.

from ember-cli-bootstrap.

tomish avatar tomish commented on July 16, 2024

jkatsnelson I am getting the same error. Did you ever find the cause of this?

from ember-cli-bootstrap.

jicksta avatar jicksta commented on July 16, 2024

+1 We're getting this as well. Anyone know a workaround for this? Are popovers officially supported?

/cc @linstula

from ember-cli-bootstrap.

jicksta avatar jicksta commented on July 16, 2024

We found a temporary workaround:

Bootstrap.BsPopoverComponent.reopen({
  init: function() {
    this._super();
    var badName = this.get("partialTemplateName");
    var goodName = badName.replace("/_", "/");
    this.set("partialTemplateName", goodName);
    Ember.TEMPLATES[goodName] = Ember.TEMPLATES[badName];
  }
});

You can add that to somewhere in your ember-cli project and app.import(...) it in your Brocfile.js.

The problem is that the original implementation of Bootstrap.BsPopoverComponent#init sets its partialTemplateName to a partial name that looks like components/bs-popover/_partial-content-1. The latest version of Ember automatically tries to prepend a _ to the last token of that string so it ends up looking like components/bs-popover/__partial-content-1. We'll try to submit a PR for this soon.

from ember-cli-bootstrap.

jicksta avatar jicksta commented on July 16, 2024

/cc @linstula @jkatsnelson @tomish ^^^

from ember-cli-bootstrap.

mantenie avatar mantenie commented on July 16, 2024

👍

from ember-cli-bootstrap.

ritesh83 avatar ritesh83 commented on July 16, 2024

👍

from ember-cli-bootstrap.

jkatsnelson avatar jkatsnelson commented on July 16, 2024

👍

from ember-cli-bootstrap.

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.