Created
December 9, 2010 06:04
-
-
Save 525c1e21-bd67-4735-ac99-b4b0e5262290/734391 to your computer and use it in GitHub Desktop.
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
# Establish the root object, `window` in the browser, or `global` on the server. | |
root = this | |
# Save any existing module | |
_previous = root.li | |
# Initialise the module | |
li = {} | |
# Export the module for server or browser | |
if module?.exports? | |
module.exports = li | |
li.li = li | |
else | |
root.li = li | |
# Current version | |
li.VERSION = '0.1.0' |
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
var li, root, _previous; | |
root = this; | |
_previous = root.li; | |
li = {}; | |
if ((typeof module != "undefined" && module !== null ? module.exports : void 0) != null) { | |
module.exports = li; | |
li.li = li; | |
} else { | |
root.li = li; | |
} | |
li.VERSION = '0.1.0'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment