- Uses dependency injection for Select2 library

This commit is contained in:
Vlad
2016-12-03 19:18:17 -05:00
parent 732ea59e34
commit 98812834f6
2 changed files with 5 additions and 3 deletions

View File

@@ -10,7 +10,8 @@ define(
_, _,
jQuery, jQuery,
MailPoet, MailPoet,
Handlebars Handlebars,
select2
) { ) {
if (!jQuery("#mailpoet_subscribers_export").length) { if (!jQuery("#mailpoet_subscribers_export").length) {
return; return;

View File

@@ -18,7 +18,8 @@ define(
Handlebars, Handlebars,
Papa, Papa,
AsyncQueue, AsyncQueue,
Moment Moment,
select2
) { ) {
if (!jQuery('#mailpoet_subscribers_import').length) { if (!jQuery('#mailpoet_subscribers_import').length) {
return; return;