Created
June 26, 2016 09:56
-
-
Save pastcompute/1f4b9bed29ca36d300f5de98127be275 to your computer and use it in GitHub Desktop.
not quite UMD AMD thing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(root,factory) { | |
if (typeof define === 'function' && define.amd) { define(['underscore'], factory); } | |
else if (typeof exports === 'object') { module.exports = factory(require('underscore')); } | |
else { root.returnExports = factory(root.underscore); } | |
}(this, function(_) { | |
'use strict'; | |
return { | |
// thing public interface | |
}; | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment