Mercurial Hosting > luan
diff core/src/luan/modules/Luan.luan @ 693:ca169567ce07
module URIs must now include ".luan"
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 19 Apr 2016 15:54:11 -0600 |
parents | fc08c3b42010 |
children | b620b8e1010f |
line wrap: on
line diff
--- a/core/src/luan/modules/Luan.luan Mon Apr 18 20:40:21 2016 -0600 +++ b/core/src/luan/modules/Luan.luan Tue Apr 19 15:54:11 2016 -0600 @@ -29,8 +29,8 @@ M.type = BasicLuan.type M.values = BasicLuan.values -function M.do_file(uri,add_extension) - return M.load_file(uri,add_extension)() +function M.do_file(uri) + return M.load_file(uri)() end M.VERSION = M.do_file "classpath:luan/version.luan"