Last active
December 27, 2015 20:18
-
-
Save olebedev/7383045 to your computer and use it in GitHub Desktop.
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
((root, Library)-> | |
if typeof! define is \Function && typeof! define[\amd] is "Object" && define[\amd]? | |
define <[ exports ]>, Library | |
else | |
Library = Library(typeof exports is "object" and exports or (root["Library"] = do | |
noConflict: ((original) -> | |
noConflict = -> | |
root["Libraby"] = original | |
delete! Library.noConflict | |
Library | |
noConflict | |
)(root["Libraby"]) | |
) | |
) | |
)(@, (exports)-> | |
# module code here | |
return exports | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment