fixes, simple

This commit is contained in:
Paul Liverman III 2017-04-13 08:11:45 -07:00
parent 630cb51b59
commit adb74f476a
9 changed files with 38 additions and 31 deletions

View File

@ -426,7 +426,7 @@
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>

View File

@ -144,7 +144,7 @@
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>

View File

@ -84,7 +84,7 @@
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>

View File

@ -491,7 +491,7 @@
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>

View File

@ -105,7 +105,7 @@
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>

View File

@ -758,7 +758,7 @@ table.insert element.parent, element.parent\removeChild(element),
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>

View File

@ -126,7 +126,7 @@
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2017-04-12 03:37:15 </i>
<i style="float:right;">Last updated 2017-04-13 08:11:30 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>

View File

@ -122,20 +122,25 @@ do
for i = #self.child, 1, -1 do
self.child[i]:delete()
end
if self.parent then
for i = 1, #self.parent.child do
if self.parent.child[i] == self then
table.remove(self.parent.child, i)
break
end
end
end
if self.parent then
for i = 1, #self.parent.data.child do
if self.parent.data.child[i] == self.data then
table.remove(self.parent.data.child, i)
break
end
end
end
self.parent = nil
self.data.parent = nil
self = nil
end
}
_base_0.__index = _base_0

View File

@ -155,17 +155,19 @@ class element
for i=#@child, 1, -1
@child[i]\delete!
if @parent
for i=1, #@parent.child
if @parent.child[i] == @
table.remove @parent.child, i
break
if @parent
for i=1, #@parent.data.child
if @parent.data.child[i] == @data
table.remove @parent.data.child, i
break
@parent = nil
@data.parent = nil -- should be for all @ -> nil
--@ = nil <- or that, does that work? Idk
@data.parent = nil -- should be for all @ -> nil MAYBE
@ = nil
-- DO NOT DELETE @data though, it could still be in use