Fixed: Load Scenographic Editor lua files

This commit is contained in:
ulukyn 2016-12-14 16:14:33 +01:00
parent 569793d779
commit 8fc66a4af4
2 changed files with 5 additions and 6 deletions

View file

@ -7,7 +7,7 @@
-- under the terms of the MIT license. See LICENSE for details.
--
local json = { _version = "0.1.0" }
Json = { _version = "0.1.0" }
-------------------------------------------------------------------------------
-- Encode
@ -368,12 +368,9 @@ parse = function(str, idx)
end
function json.decode(str)
function Json.decode(str)
if type(str) ~= "string" then
error("expected argument of type string, got " .. type(str))
end
return ( parse(str, next_char(str, 1, space_chars, true)) )
end
return json

View file

@ -4,7 +4,9 @@
<interface_config>
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="webig.lua" />
<lua file="json.lua" />
<lua file="sceneedit.lua" />
<!-- //////////// STYLE : webigchat_desc /////////// -->
<style style="webigchat_desc" type="text" fontsize="12" justification="dont_clip_word" color="0 0 0 255" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
<!-- //////////// STYLE : webigchat_option /////////// -->