Open marrus-sh opened 8 years ago
For example, passing in an element as well (or an id). Relying on getting the script element is kinda problematic and can be left to users.
It also might be smart to rename it Game.defineFunctions, to show the connection there.
Game.defineFunctions
For example, passing in an element as well (or an id). Relying on getting the script element is kinda problematic and can be left to users.