Git Product home page Git Product logo

Comments (3)

sir-dunxalot avatar sir-dunxalot commented on August 17, 2024

Definitely valid points. I think there's some value in the 'plug and play' nature of initializers so perhaps an option, as you suggested, to manually import the code that's refactored into a mixin would be the best option. I'd happily accept a PR as I won't be working much until next week but either way would like to make these improvements.

The option is probably best set in the config/environment file because it's not really affecting the broccoli build, just the browser code. So something like:

/* jshint node: true */

module.exports = function(environment) {
  var ENV = {
    modulePrefix: 'dummy',
    podModulePrefix: 'dummy/resources',
    environment: environment,
    baseURL: '/',
    locationType: 'auto',
    EmberENV: {
      FEATURES: {
        // Here you can enable experimental features on an ember canary build
        // e.g. 'with-controller': true
      }
    },

    APP: {
      // Here you can pass flags/options to your application instance
      // when it is created
    },

    tooltips: {
      setupInInitializer: true, // or false
    }
  };
}

from ember-tooltips.

sir-dunxalot avatar sir-dunxalot commented on August 17, 2024

This will be fixed by #3, which is currently up for review.

from ember-tooltips.

sir-dunxalot avatar sir-dunxalot commented on August 17, 2024

#3 merged into master and released as 0.2.0.

from ember-tooltips.

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.