Created
August 29, 2012 23:59
-
-
Save repeatingbeats/3520663 to your computer and use it in GitHub Desktop.
Revisions
-
repeatingbeats revised this gist
Dec 4, 2012 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ }(this, function () { // Return a module definition return {}; })); // One dependency (function (root, factory) { @@ -18,4 +18,4 @@ }(this, function (dep) { // Return a module definition return {}; })); -
repeatingbeats revised this gist
Aug 30, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ // Terse implementations of the returnExports UMD wrapper (https://github.com/umdjs/umd/blob/master/returnExports.js) // No dependencies (function (root, factory) { -
repeatingbeats created this gist
Aug 29, 2012 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ // Terse implementations of the [returnExports UMD wrapper](https://github.com/umdjs/umd/blob/master/returnExports.js) // No dependencies (function (root, factory) { if (typeof exports === 'object') module.exports = factory(); else if (typeof define === 'function' && define.amd) define(factory); else root.moduleName = factory(); }(this, function () { // Return a module definition return {}; }); // One dependency (function (root, factory) { if (typeof exports === 'object') module.exports = factory(require('dep')); else if (typeof define === 'function' && define.amd) define([ 'dep' ], factory); else root.moduleName = factory(root.dep); }(this, function (dep) { // Return a module definition return {}; });