Skip to content

Commit

Permalink
Merge pull request #49 from FrameMuse/fix-window-duplicating-bug
Browse files Browse the repository at this point in the history
Fix window duplicating bug
  • Loading branch information
FrameMuse authored Feb 13, 2023
2 parents e808559 + a2a51f0 commit c446964
Show file tree
Hide file tree
Showing 4 changed files with 234 additions and 226 deletions.
150 changes: 76 additions & 74 deletions coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -1,93 +1,95 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1676160436299" clover="3.2.0">
<project timestamp="1676160436299" name="All files">
<metrics statements="96" coveredstatements="94" conditionals="50" coveredconditionals="46" methods="46" coveredmethods="41" elements="192" coveredelements="181" complexity="0" loc="96" ncloc="96" packages="1" files="7" classes="7"/>
<coverage generated="1676330172663" clover="3.2.0">
<project timestamp="1676330172663" name="All files">
<metrics statements="98" coveredstatements="96" conditionals="54" coveredconditionals="50" methods="46" coveredmethods="41" elements="198" coveredelements="187" complexity="0" loc="98" ncloc="98" packages="1" files="7" classes="7"/>
<file name="container.tsx" path="/home/kotto/github/react-modal-global/src/container.tsx">
<metrics statements="12" coveredstatements="12" conditionals="14" coveredconditionals="14" methods="6" coveredmethods="6"/>
<line num="25" count="2" type="stmt"/>
<line num="52" count="21" type="stmt"/>
<line num="59" count="104" type="cond" truecount="2" falsecount="0"/>
<line num="63" count="21" type="stmt"/>
<line num="67" count="21" type="stmt"/>
<line num="71" count="50" type="stmt"/>
<line num="72" count="50" type="stmt"/>
<line num="73" count="50" type="cond" truecount="2" falsecount="0"/>
<line num="74" count="50" type="cond" truecount="2" falsecount="0"/>
<line num="75" count="50" type="stmt"/>
<line num="93" count="50" type="stmt"/>
<line num="52" count="22" type="stmt"/>
<line num="59" count="108" type="cond" truecount="2" falsecount="0"/>
<line num="63" count="22" type="stmt"/>
<line num="67" count="22" type="stmt"/>
<line num="71" count="52" type="stmt"/>
<line num="72" count="52" type="stmt"/>
<line num="73" count="52" type="cond" truecount="2" falsecount="0"/>
<line num="74" count="52" type="cond" truecount="2" falsecount="0"/>
<line num="75" count="52" type="stmt"/>
<line num="93" count="52" type="stmt"/>
<line num="94" count="2" type="stmt"/>
</file>
<file name="context.ts" path="/home/kotto/github/react-modal-global/src/context.ts">
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
<line num="23" count="3" type="stmt"/>
</file>
<file name="controller.ts" path="/home/kotto/github/react-modal-global/src/controller.ts">
<metrics statements="59" coveredstatements="59" conditionals="18" coveredconditionals="18" methods="32" coveredmethods="27"/>
<metrics statements="61" coveredstatements="61" conditionals="22" coveredconditionals="22" methods="32" coveredmethods="27"/>
<line num="25" count="2" type="stmt"/>
<line num="30" count="2" type="stmt"/>
<line num="38" count="68" type="stmt"/>
<line num="39" count="68" type="cond" truecount="2" falsecount="0"/>
<line num="38" count="72" type="stmt"/>
<line num="39" count="72" type="cond" truecount="2" falsecount="0"/>
<line num="40" count="4" type="stmt"/>
<line num="41" count="4" type="stmt"/>
<line num="44" count="64" type="stmt"/>
<line num="74" count="43" type="stmt"/>
<line num="75" count="43" type="stmt"/>
<line num="76" count="43" type="stmt"/>
<line num="77" count="20" type="stmt"/>
<line num="78" count="20" type="stmt"/>
<line num="81" count="43" type="stmt"/>
<line num="82" count="43" type="stmt"/>
<line num="84" count="43" type="stmt"/>
<line num="86" count="43" type="stmt"/>
<line num="44" count="68" type="stmt"/>
<line num="74" count="45" type="stmt"/>
<line num="75" count="45" type="stmt"/>
<line num="76" count="45" type="stmt"/>
<line num="77" count="22" type="stmt"/>
<line num="78" count="22" type="stmt"/>
<line num="81" count="45" type="stmt"/>
<line num="82" count="45" type="stmt"/>
<line num="84" count="45" type="stmt"/>
<line num="86" count="45" type="stmt"/>
<line num="89" count="2" type="stmt"/>
<line num="99" count="2" type="stmt"/>
<line num="103" count="2" type="stmt"/>
<line num="109" count="43" type="cond" truecount="2" falsecount="0"/>
<line num="109" count="45" type="cond" truecount="2" falsecount="0"/>
<line num="110" count="3" type="stmt"/>
<line num="111" count="3" type="stmt"/>
<line num="114" count="40" type="stmt"/>
<line num="116" count="37" type="cond" truecount="4" falsecount="0"/>
<line num="117" count="15" type="stmt"/>
<line num="119" count="15" type="stmt"/>
<line num="120" count="15" type="stmt"/>
<line num="121" count="15" type="cond" truecount="4" falsecount="0"/>
<line num="114" count="42" type="stmt"/>
<line num="116" count="39" type="cond" truecount="4" falsecount="0"/>
<line num="117" count="16" type="stmt"/>
<line num="119" count="16" type="stmt"/>
<line num="120" count="16" type="stmt"/>
<line num="121" count="16" type="cond" truecount="4" falsecount="0"/>
<line num="122" count="2" type="stmt"/>
<line num="129" count="35" type="stmt"/>
<line num="140" count="20" type="cond" truecount="2" falsecount="0"/>
<line num="141" count="1" type="stmt"/>
<line num="142" count="1" type="stmt"/>
<line num="143" count="1" type="stmt"/>
<line num="145" count="1" type="stmt"/>
<line num="148" count="19" type="stmt"/>
<line num="149" count="30" type="stmt"/>
<line num="150" count="18" type="stmt"/>
<line num="153" count="18" type="cond" truecount="4" falsecount="0"/>
<line num="154" count="9" type="stmt"/>
<line num="157" count="9" type="stmt"/>
<line num="166" count="3" type="stmt"/>
<line num="167" count="3" type="stmt"/>
<line num="178" count="1" type="stmt"/>
<line num="179" count="4" type="stmt"/>
<line num="180" count="1" type="stmt"/>
<line num="182" count="4" type="stmt"/>
<line num="183" count="1" type="stmt"/>
<line num="185" count="1" type="stmt"/>
<line num="130" count="37" type="cond" truecount="4" falsecount="0"/>
<line num="131" count="1" type="stmt"/>
<line num="138" count="36" type="stmt"/>
<line num="149" count="22" type="cond" truecount="2" falsecount="0"/>
<line num="150" count="1" type="stmt"/>
<line num="151" count="1" type="stmt"/>
<line num="152" count="1" type="stmt"/>
<line num="154" count="1" type="stmt"/>
<line num="157" count="21" type="stmt"/>
<line num="158" count="32" type="stmt"/>
<line num="159" count="20" type="stmt"/>
<line num="162" count="20" type="cond" truecount="4" falsecount="0"/>
<line num="163" count="11" type="stmt"/>
<line num="166" count="9" type="stmt"/>
<line num="175" count="3" type="stmt"/>
<line num="176" count="3" type="stmt"/>
<line num="187" count="1" type="stmt"/>
<line num="188" count="4" type="stmt"/>
<line num="189" count="1" type="stmt"/>
<line num="191" count="4" type="stmt"/>
<line num="192" count="1" type="stmt"/>
<line num="193" count="5" type="stmt"/>
<line num="194" count="1" type="stmt"/>
<line num="196" count="2" type="stmt"/>
<line num="197" count="1" type="stmt"/>
<line num="199" count="1" type="stmt"/>
<line num="201" count="1" type="stmt"/>
<line num="202" count="5" type="stmt"/>
<line num="203" count="1" type="stmt"/>
<line num="205" count="2" type="stmt"/>
<line num="206" count="1" type="stmt"/>
<line num="207" count="4" type="stmt"/>
<line num="208" count="1" type="stmt"/>
<line num="213" count="2" type="stmt"/>
<line num="215" count="1" type="stmt"/>
<line num="216" count="4" type="stmt"/>
<line num="217" count="1" type="stmt"/>
<line num="222" count="2" type="stmt"/>
</file>
<file name="hooks.ts" path="/home/kotto/github/react-modal-global/src/hooks.ts">
<metrics statements="3" coveredstatements="3" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
<line num="34" count="54" type="stmt"/>
<line num="35" count="53" type="cond" truecount="2" falsecount="0"/>
<line num="37" count="49" type="stmt"/>
<line num="34" count="56" type="stmt"/>
<line num="35" count="55" type="cond" truecount="2" falsecount="0"/>
<line num="37" count="51" type="stmt"/>
</file>
<file name="index.ts" path="/home/kotto/github/react-modal-global/src/index.ts">
<metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
Expand All @@ -97,24 +99,24 @@
</file>
<file name="utils.ts" path="/home/kotto/github/react-modal-global/src/utils.ts">
<metrics statements="21" coveredstatements="19" conditionals="16" coveredconditionals="12" methods="7" coveredmethods="7"/>
<line num="26" count="54" type="stmt"/>
<line num="27" count="54" type="cond" truecount="2" falsecount="0"/>
<line num="26" count="56" type="stmt"/>
<line num="27" count="56" type="cond" truecount="2" falsecount="0"/>
<line num="29" count="24" type="stmt"/>
<line num="30" count="24" type="stmt"/>
<line num="32" count="24" type="stmt"/>
<line num="33" count="24" type="stmt"/>
<line num="36" count="2" type="stmt"/>
<line num="37" count="30" type="stmt"/>
<line num="38" count="30" type="stmt"/>
<line num="39" count="174" type="cond" truecount="4" falsecount="0"/>
<line num="40" count="30" type="cond" truecount="1" falsecount="1"/>
<line num="37" count="32" type="stmt"/>
<line num="38" count="32" type="stmt"/>
<line num="39" count="186" type="cond" truecount="4" falsecount="0"/>
<line num="40" count="32" type="cond" truecount="1" falsecount="1"/>
<line num="41" count="0" type="stmt"/>
<line num="43" count="30" type="stmt"/>
<line num="45" count="174" type="stmt"/>
<line num="50" count="30" type="cond" truecount="1" falsecount="1"/>
<line num="52" count="30" type="stmt"/>
<line num="53" count="30" type="stmt"/>
<line num="62" count="26" type="stmt"/>
<line num="43" count="32" type="stmt"/>
<line num="45" count="186" type="stmt"/>
<line num="50" count="32" type="cond" truecount="1" falsecount="1"/>
<line num="52" count="32" type="stmt"/>
<line num="53" count="32" type="stmt"/>
<line num="62" count="27" type="stmt"/>
<line num="63" count="7" type="cond" truecount="3" falsecount="1"/>
<line num="64" count="7" type="cond" truecount="1" falsecount="1"/>
<line num="67" count="0" type="stmt"/>
Expand Down
Loading

0 comments on commit c446964

Please sign in to comment.