Giter Club home page Giter Club logo

Comments (5)

leocaseiro avatar leocaseiro commented on May 24, 2024 1

I totally agree. IMO I never really liked coffeescript. It was more just a challenge.

Happy to use es6 or TS. But TS will be confused with Angular 2-6

from angular-chosen.

andresgardiol avatar andresgardiol commented on May 24, 2024

It would be great to be able to use chosen with es6 modules.
Will you rewrite it by chance?

from angular-chosen.

VanTanev avatar VanTanev commented on May 24, 2024

@andresgardiol angular-chosen is separate from chosen-js. Even if we rewrote angular-chosen to be compatible with what you mean to be (I assume) browser es6 modules, chosen-js itself is not, and we cannot rewrite it.

However, even the current version of both angular-chosen and chosen-js are compatible with es6 imports, as handled by WebPack.

from angular-chosen.

andresgardiol avatar andresgardiol commented on May 24, 2024

Thanks for your answer. Can you tell me how you import angular-chosen module with es6? I had some problems to do so.

from angular-chosen.

VanTanev avatar VanTanev commented on May 24, 2024

This really isn't the place, but 1 short example

import 'jquery'
import 'chosen-js'
import 'angular-chosen-localytics'
import angular from 'angular'

angular.module('app', ['localytics.directives'])

from angular-chosen.

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.