Permalink
Browse files

updat einit

  • Loading branch information...
1 parent 1435540 commit 1ecb307ae90ebc2cb685b958312c2d0ec56ef2b3 @zrong committed Dec 25, 2014
Showing with 6 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +5 −2 lib/zrong/zr/init.lua
View
@@ -1,2 +1,3 @@
+.DS_Store
*.swp
*.log
@@ -1,6 +1,9 @@
+local package = zr or {}
-- load utils library
-zr.utils = import(".utils.init")
+package.utils = import(".utils.init")
-- load log library
-zr.log = import(".log.init")
+package.log = import(".log.init")
+
+return package

0 comments on commit 1ecb307

Please sign in to comment.