We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't figure out how to get the npm package to work within a es6 module.
e.g.,
import 'jquery-ui/ui/widget'; import 'selectboxit/src/javascripts/jquery.selectBoxIt'; import 'selectboxit/src/stylesheets/jquery.selectBoxIt.css'; $.widget( 'qubit.selectBox', $.selectBox.selectBoxIt, { } );
produces 'Cannot read property 'selectBoxIt' of undefined'
I'm also providing the jquery plugin to the module via:
plugins: [ new webpack.ProvidePlugin( { $: 'jquery', jQuery: 'jquery', //'window.jQuery': 'jquery', //'global.jQuery': 'jquery', //"window.$": "jquery", } ), ],
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Can't figure out how to get the npm package to work within a es6 module.
e.g.,
produces 'Cannot read property 'selectBoxIt' of undefined'
I'm also providing the jquery plugin to the module via:
The text was updated successfully, but these errors were encountered: