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

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

}));
