mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-20 15:59:48 +02:00
Using new module scheme. Still needs fine tuning.
This commit is contained in:
@ -6,9 +6,10 @@
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
-- Load other required modules
|
||||
-- Declare module and import dependencies
|
||||
-----------------------------------------------------------------------------
|
||||
local mime = requirelib("mime", "luaopen_mime", getfenv(1))
|
||||
module("mime")
|
||||
local mime = require("lmime")
|
||||
local ltn12 = require("ltn12")
|
||||
|
||||
-- encode, decode and wrap algorithm tables
|
||||
|
Reference in New Issue
Block a user