Created
May 10, 2017 15:30
-
-
Save iskolbin/7aa663344b79b40971bc45f140d64d1f to your computer and use it in GitHub Desktop.
Tiny AMD define implementation only for fast prototyping purposes. Working only in browsers
This file contains 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(){var b=window;b.define=function(c,a,d){a=[,b[c]||{}].concat(a.slice(2).map(function(a){b[a]=b[a]||{};return b[a]}));d.apply(null,a);b[c]=a[1]}})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment