"use strict";
(function ($) {
    $.field_smsaction = function (element, options) {
        var defaults = {
        }
        var plugin = this;
        plugin.settings = {}
        var $element = $(element),
            element = element;
        plugin.init = function () {
            plugin.settings = $.extend({}, defaults, options);
            $element.find('.list-page').select2();
        };
        plugin.example_function = function () {
        };
        plugin.init();
    }

    $.fn.field_smsaction = function (options) {

        return this.each(function () {

            if (undefined == $(this).data('field_smsaction')) {
                var plugin = new $.field_smsaction(this, options);
                $(this).data('field_smsaction', plugin);
            }
        });
    }
})(jQuery);