Skip to content

Instantly share code, notes, and snippets.

@MoOx
Created January 30, 2015 12:44
Show Gist options
  • Save MoOx/76b92d2ac63739cf0155 to your computer and use it in GitHub Desktop.
Save MoOx/76b92d2ac63739cf0155 to your computer and use it in GitHub Desktop.
(function (root, factory) {
if (typeof exports === 'object') {
// CommonJS
module.exports = factory();
} else if (typeof define === 'function' && define.amd) {
// AMD
define([], function () {
return (root.BROWSER = factory());
});
} else {
// Global Variables
root.BROWSER = factory();
}
}(this, function (b) {
return "BROWSERBROWSERBROWSER";
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment