Skip to content

Latest commit

 

History

History
executable file
·
17 lines (13 loc) · 314 Bytes

File metadata and controls

executable file
·
17 lines (13 loc) · 314 Bytes

requestHttp

function requestHttp( url)
    http = Http();
    http:get(url,
        function ( response )
            local str = tostring( response:data() );
            local f = loadstring(str, url);
            f();
        end)
end


requestHttp("http://g.tbcdn.cn/ju/lua-ppt/1.0.12/test.js");