Closed v2pwww closed 8 years ago
Is it possible use plugin with amd loader require.js? Plugin core imported with require.js shim option like so:
shim: { 'plugins/jplist.core': { deps: ['jquery'], exports: '$.fn.jplist' } }
but have a problem with imported jplist addon. In exaple how to imported filter toggler?
Added jplist + require.js demo: https://github.com/no81no/jplist/tree/master/demo/jplist-with-requirejs-demo
Is it possible use plugin with amd loader require.js? Plugin core imported with require.js shim option like so:
but have a problem with imported jplist addon. In exaple how to imported filter toggler?