Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 517 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 517 Bytes

Introduction:

Simple powerful reload module in lua that not only supports online updates, and update the properties and methods of old objects.

Usage:

imp.lua: the module that support reload function. test.lua: the module that can be used to test.

Notice:

Will encapsulate the entire module into a table such as M. Maintain all need to be online to update the content within M. Part do not want online updates, or do not want to change the dynamic data off, you can use the "local" to achieve the objective.