diff options
author | Clement Farabet <clement.farabet@gmail.com> | 2013-08-12 18:40:17 +0400 |
---|---|---|
committer | Clement Farabet <clement.farabet@gmail.com> | 2013-08-12 18:40:17 +0400 |
commit | 2f05ab141cefed86c109cb964cb64154539c7a93 (patch) | |
tree | 80ce6ea7b986a9791fef0f191bd2c2538adef696 /th | |
parent | 53773d4775d6bfa770da5f91ffaf9c3977740ad2 (diff) |
Preloading async to expose it to ext scripts
Diffstat (limited to 'th')
-rw-r--r-- | th | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,6 +55,7 @@ for _,arg in ipairs(parg) do elseif shortopt == 'a' or option == 'async' then asyncrepl = true interactive = true + async = require 'async' elseif shortopt == 'l' then nextarg = 'lib' else @@ -104,7 +105,6 @@ end -- start repl if asyncrepl then -- BETA: async repl - async = require 'async' async.repl() async.go() else |