Skip to content

Instantly share code, notes, and snippets.

@rwaldron
Created December 29, 2012 00:51
Show Gist options
  • Save rwaldron/4403537 to your computer and use it in GitHub Desktop.
Save rwaldron/4403537 to your computer and use it in GitHub Desktop.
(function (root, factory) {
'use strict';
// Universal Module Definition (UMD) to support AMD, CommonJS/Node.js,
// Rhino, and plain browser loading.
if (typeof define === 'function' && define.amd) {
define(['exports'], factory);
} else if (typeof exports !== 'undefined') {
factory(exports);
} else {
factory((root.esprima = {}));
}
}(this, function (exports) {
// Module code goes here
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment