Skip to content

Commit 2bf7428

Browse files
committed
fix
1 parent e11cded commit 2bf7428

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

coverage/PhantomJS 1.9.8 (Mac OS X 0.0.0)/lcov-report/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h2>
5858
</div>
5959
</div>
6060
<div class="footer">
61-
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Thu Jul 16 2015 11:55:11 GMT+0200 (CEST)</div>
61+
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Thu Jul 16 2015 12:31:08 GMT+0200 (CEST)</div>
6262
</div>
6363
<script src="prettify.js"></script>
6464
<script>

coverage/PhantomJS 1.9.8 (Mac OS X 0.0.0)/lcov-report/src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h2>
5858
</div>
5959
</div>
6060
<div class="footer">
61-
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Thu Jul 16 2015 11:55:11 GMT+0200 (CEST)</div>
61+
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Thu Jul 16 2015 12:31:08 GMT+0200 (CEST)</div>
6262
</div>
6363
<script src="../prettify.js"></script>
6464
<script>

coverage/PhantomJS 1.9.8 (Mac OS X 0.0.0)/lcov-report/src/ng-reading-indicator.js.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ <h2>
584584
<span class="cstat-no" title="statement not covered" > scrollPos = origScrollPos + window.innerHeight;</span>
585585
}
586586
&nbsp;
587-
<span class="cstat-no" title="statement not covered" > progress = (scrollPos &lt;= top) ? 0 : ((scrollPos-top) / (top-bottom)) * 100;</span>
587+
<span class="cstat-no" title="statement not covered" > progress = (scrollPos &lt;= top) ? 0 : ((scrollPos-top) / (article[0].offsetHeight)) * 100;</span>
588588
&nbsp;
589589
<span class="cstat-no" title="statement not covered" > if (options.readingTime.enable) {</span>
590590
<span class="cstat-no" title="statement not covered" > scope.$apply( <span class="fstat-no" title="function not covered" >function(){</span></span>
@@ -596,11 +596,11 @@ <h2>
596596
&nbsp;
597597
<span class="cstat-no" title="statement not covered" > progressBar.style.width = progress + '%';</span>
598598
&nbsp;
599-
<span class="cstat-no" title="statement not covered" > if ((!options.expand &amp;&amp; options.type === 'small' &amp;&amp; scrollPos &gt;= (top + expandOffset.top + options.topOffset)) || (options.expand &amp;&amp; scrollPos &gt; top &amp;&amp; scrollPos &lt; (top + expandOffset.top + options.topOffset))) {</span>
599+
<span class="cstat-no" title="statement not covered" > if ((!options.expand &amp;&amp; options.type === 'small' &amp;&amp; origScrollPos &gt;= (top + expandOffset.top + options.topOffset)) || (options.expand &amp;&amp; origScrollPos &gt; top &amp;&amp; origScrollPos &lt; (top + expandOffset.top + options.topOffset))) {</span>
600600
<span class="cstat-no" title="statement not covered" > angular.element(element)[0].style.height = '5px';</span>
601601
<span class="cstat-no" title="statement not covered" > angular.element(element).addClass('ng-reading-indicator-shrink');</span>
602602
<span class="cstat-no" title="statement not covered" > angular.element(element).removeClass('ng-reading-indicator-expanded');</span>
603-
} else <span class="cstat-no" title="statement not covered" >if (((!options.expand &amp;&amp; options.type === 'big') || options.expand) &amp;&amp; scrollPos &gt;= (top + expandOffset.top + options.topOffset)) {</span>
603+
} else <span class="cstat-no" title="statement not covered" >if (((!options.expand &amp;&amp; options.type === 'big') || options.expand) &amp;&amp; origScrollPos &gt;= (top + expandOffset.top + options.topOffset)) {</span>
604604
<span class="cstat-no" title="statement not covered" > angular.element(element).removeClass('ng-reading-indicator-shrink');</span>
605605
<span class="cstat-no" title="statement not covered" > angular.element(element).addClass('ng-reading-indicator-expanded');</span>
606606
<span class="cstat-no" title="statement not covered" > angular.element(element)[0].style.height = '';</span>
@@ -660,7 +660,7 @@ <h2>
660660

661661
</div>
662662
<div class="footer">
663-
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Thu Jul 16 2015 11:55:11 GMT+0200 (CEST)</div>
663+
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Thu Jul 16 2015 12:31:08 GMT+0200 (CEST)</div>
664664
</div>
665665
<script src="../prettify.js"></script>
666666
<script>

demo/app.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)