mirror of
https://github.com/TangentFoxy/Pop.Box.git
synced 2024-12-15 12:44:20 +00:00
fixes, simple
This commit is contained in:
parent
630cb51b59
commit
adb74f476a
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user