mirror of
https://github.com/celisej567/wiki.git
synced 2026-09-21 20:08:53 +03:00
Fix stupid
This commit is contained in:
@@ -448,7 +448,7 @@ th, td
|
||||
|
||||
<p>Let's say that you have a library called "MyLib.nut" inside a mod called "MyMod". This is what it contains:</p>
|
||||
|
||||
<p><small style="position:relative; top:8px;">MyMod/MyLib.nut _$</p>
|
||||
<p><small style="position:relative; top:8px;">MyMod/MyLib.nut</small></p>
|
||||
|
||||
<pre><code>class AdditionClass
|
||||
{
|
||||
@@ -463,7 +463,7 @@ Addition <- AdditionClass() -- Exports can only use global variables!
|
||||
|
||||
<p>Now to export the <code>Addition</code> object, pass them to the <code>export()</code> function at the end of the file.</p>
|
||||
|
||||
<p>$_SMALL MyMod/MyLib.nut</small></p>
|
||||
<p><small style="position:relative; top:8px;">MyMod/MyLib.nut</small></p>
|
||||
|
||||
<pre><code>export(Addition);
|
||||
</code></pre>
|
||||
|
||||
Reference in New Issue
Block a user