Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (18 sloc) 519 Bytes
<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="object.xsl"?>
<page xmlns:x="http://www.yandex.ru/xscript" xmlns:xi="http://www.w3.org/2001/XInclude">
<xscript xslt-dont-apply="yes" allow-methods="get"/>
<!-- check that we can share lua functions -->
<x:lua>
<![CDATA[
function foo(key, value)
xscript.state:setString(key, value)
end
]]>
</x:lua>
<x:lua>
<![CDATA[
foo("bar", "baz")
]]>
</x:lua>
</page>