-
-
Save Bonuspunkt/393ad9b67646d4d5c27e 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
_G.dependency = { | |
sayWhat = function() _G.consolePrint("SAY WAT?") | |
} |
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
-- won't work w/o this require | |
require "dependency.lua" | |
_G.dependency.sayWhat() |
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
-- works here too, but where did it come from | |
_G.dependency.sayWhat() |
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
-- same as above but less obvious, imagine its in the middle of a code block | |
dependency.sayWhat() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment