;(function (f) {
  // module name and requires
  var name = '';
  var requires = [];

  // CommonJS
  if (typeof exports === "object" && typeof module !== "undefined") {
    module.exports = f.apply(null, requires.map(function(r) { return require(r); }));

  // RequireJS
  } else if (typeof define === "function" && define.amd) {
    define(requires, f);

  // <script>
  } else {
    var g;
    if (typeof window !== "undefined") {
      g = window;
    } else if (typeof global !== "undefined") {
      g = global;
    } else if (typeof self !== "undefined") {
      g = self;
    } else {
      // works providing we're not in "use strict";
      // needed for Java 8 Nashorn
      // seee https://github.com/facebook/react/issues/3037
      g = this;
    }
    g[name] = f.apply(null, requires.map(function(r) { return g[r]; }));
  }

})(function () {
  // code
  return something;
});

// From: https://raw.githubusercontent.com/chilts/umd-template/master/template.js
;(function (f) {
  // module name and requires
  var name = '';
  var requires = [];

  // CommonJS
  if (typeof exports === "object" && typeof module !== "undefined") {
    module.exports = f.apply(null, requires.map(function(r) { return require(r); }));

  // RequireJS
  } else if (typeof define === "function" && define.amd) {
    define(requires, f);

  // <script>
  } else {
    var g;
    if (typeof window !== "undefined") {
      g = window;
    } else if (typeof global !== "undefined") {
      g = global;
    } else if (typeof self !== "undefined") {
      g = self;
    } else {
      // works providing we're not in "use strict";
      // needed for Java 8 Nashorn
      // seee https://github.com/facebook/react/issues/3037
      g = this;
    }
    g[name] = f.apply(null, requires.map(function(r) { return g[r]; }));
  }

})(function () {
  // code
  return something;
});

Add a pointer to the raw file for easier use and comparison