Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
autodividers style guide conformance
  • Loading branch information
johnbender committed May 3, 2012
1 parent ea22f39 commit fd491ef
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions js/jquery.mobile.listview.autodividers.js
Expand Up @@ -32,14 +32,10 @@ $( document ).on( "listviewcreate", "ul,ol", function() {
var replaceDividers = function () {
list.find( 'li:jqmData(role=list-divider)' ).remove();

var lis = list.find( 'li' );
var lis = list.find( 'li' ),
lastDividerText = null, li, dividerText;

var lastDividerText = null;
var li;
var dividerText;
var i = 0;

for ( i ; i < lis.length ; i++ ) {
for ( var i = 0; i < lis.length ; i++ ) {
li = lis[i];
dividerText = listview.options.autodividersSelector( $( li ) );

Expand Down

0 comments on commit fd491ef

Please sign in to comment.