Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pluginify from 'pluginify';
- class Plugin() {
- constructor() {
- /* ... */
- }
- }
- /*
- Convert plugin class into a jQuery plugin
- */
- pluginify('pluginName', 'pluginDataName', Plugin, true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement