Created
May 17, 2016 16:16
-
-
Save andersevenrud/5704043e4de4da21453f6b7beb05f899 to your computer and use it in GitHub Desktop.
OS.js Application API Lua boilerplate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/lua | |
-- | |
-- This is a OS.js Application API example for Lua | |
-- | |
local function request(m, a, request, response) | |
local result = false | |
-- error, result | |
return false, result | |
end | |
return { | |
request = request | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment