Permalink
Browse files

Listview: changed variables to please the linter.

  • Loading branch information...
1 parent 0e31744 commit 88e45bed1aa42622d2a774f8d811c53d9e6d0b40 @jaspermdegroot jaspermdegroot committed Jul 12, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 js/jquery.mobile.listview.js
@@ -173,8 +173,8 @@ $.widget( "mobile.listview", $.mobile.widget, {
// Check if a start attribute has been set and take a value of 0 into account
if ( typeof start !== "undefined" && start !== false ) {
if ( !jsCount ) {
- var startAt = parseFloat( start ) - 1;
- $list.css( "counter-reset", "listnumbering " + startAt );
+ var startCount = parseFloat( start ) - 1;
+ $list.css( "counter-reset", "listnumbering " + startCount );
} else {
counter = parseFloat( start );
}
@@ -254,8 +254,8 @@ $.widget( "mobile.listview", $.mobile.widget, {
//reset counter when a divider heading is encountered
if ( typeof start !== "undefined" && start !== false ) {
if ( !jsCount ) {
- var startAt = parseFloat( start ) - 1;
- item.css( "counter-reset", "listnumbering " + startAt );
+ var newStartCount = parseFloat( start ) - 1;
+ item.css( "counter-reset", "listnumbering " + newStartCount );
} else {
counter = parseFloat( start );
}

0 comments on commit 88e45be

Please sign in to comment.