AMD support
Hi,
I would very much like support for AMD modules and script loaders. It should be very straightforward to support both AMD and non-AMD usage:
https://github.com/umdjs/umd/blob/master/jqueryPlugin.js
Jeroen
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Dmitry Semenov on 20 Jun, 2013 09:17 PM
Hi,
Thank you for suggestion, added this to roadmap, but cannot promise that feature will be added very soon.
Dmitry
2 Posted by pesche on 26 Jun, 2014 12:35 PM
Are there any updates on this? It would make it much easier to use your plugin with tools like requirejs or browserify.
Support Staff 3 Posted by Dmitry Semenov on 26 Jun, 2014 01:27 PM
@Pesche, you may just wrap contents of js file with:
4 Posted by hello on 09 Mar, 2016 12:41 AM
Hi Dimitry,
I'm having trouble with importing RoyalSlider via ES6 imports and Browserify.. This is my code
Although I'm receiving the following error in the console
`
jquery.royalslider.min.js:61 – Uncaught ReferenceError: jQuery is not defined
I've tried changing
import $
toimport jQuery
and it's still not working.Any ideas?
Thanks
Support Staff 5 Posted by Dmitry Semenov on 09 Mar, 2016 10:27 AM
@Jake, have you tried also adding:
?
or like this:
6 Posted by hello on 09 Mar, 2016 10:34 AM
Hi Dmitry,
Yes I've tried both of your suggestions and still getting error
Uncaught ReferenceError: jQuery is not defined
.Any other ideas?
Support Staff 7 Posted by Dmitry Semenov on 10 Mar, 2016 03:30 PM
Do you get jQuery version printed when you execute such code?