Skip to content

Instantly share code, notes, and snippets.

Avatar

Adam Morris brainysmurf

View GitHub Profile
View Utgs.gs
/*
Imported via dev.gs
*/
(function (global, Factory) {
global.pkg = global.pkg || {};
global.pkg.utgs = (function wrapper (args) {
var wrapped = function () { return Factory.apply(Factory, [global].concat(Array.prototype.slice.call(arguments))); };
for (i in args) { wrapped[i] = args[i]; }
return wrapped;