Sha256: 141d3ad5fc782c658840dbaf0ed0b96ec3fef6b5bd6628a06ede1352a8368044

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

<%= @head %>

(function() {
  (function() {
    <%= indent(@export, 4 )%>
  }).call(this);

  var <%= @namespace %> = this.<%= @namespace %>;

  (function() {
    <%= indent(@tail, 4) %>
  }).call(this);

  if (typeof module === "object" && module.exports) {
    module.exports = <%= @namespace %>;
  } else if (typeof define === "function" && define.amd) {
    define(<%= @namespace %>);
  }
}).call(this);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sprockets-export-0.9.1 lib/sprockets/export/template.js.erb