// wrap in UMD - see https://github.com/umdjs/umd/blob/master/jqueryPlugin.js
(function (factory) {
  if (typeof define === "function" && define.amd) {
    define(["jquery"], function($) {
      factory($, window, document);
    });
  } else {
    factory(jQuery, window, document);
  }
}(function ($, window, document, undefined) {
  "use strict";

  <%- plugin %>
  <%- data %>

}));