Skip to content

Commit

Permalink
docs(infinite): switch var to let
Browse files Browse the repository at this point in the history
closes #9264
  • Loading branch information
Ray authored and mhartington committed Nov 21, 2016
1 parent 29a56c4 commit 8504716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/infinite-scroll/infinite-scroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { Content } from '../content/content';
* items = [];
*
* constructor() {
* for (var i = 0; i < 30; i++) {
* for (let i = 0; i < 30; i++) {
* this.items.push( this.items.length );
* }
* }
Expand All @@ -44,7 +44,7 @@ import { Content } from '../content/content';
* console.log('Begin async operation');
*
* setTimeout(() => {
* for (var i = 0; i < 30; i++) {
* for (let i = 0; i < 30; i++) {
* this.items.push( this.items.length );
* }
*
Expand Down

0 comments on commit 8504716

Please sign in to comment.