Skip to content

Commit

Permalink
Merge pull request metafizzy#47 from dandamian/master
Browse files Browse the repository at this point in the history
Debug fix
  • Loading branch information
lukeshumard committed Jun 9, 2011
2 parents aad00f6 + 85eeda6 commit a3aa7f8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions jquery.infinitescroll.js
Expand Up @@ -67,8 +67,6 @@

_create: function infscr_create(options, callback) {

var debug = this._debug;

// If selectors from options aren't valid, return false
if (!this._validate(options)) { return false; }

Expand All @@ -87,7 +85,7 @@
path = $(opts.nextSelector).attr('href');

// if there's not path, return
if (!path) { debug('Navigation selector not found'); return; }
if (!path) { this._debug('Navigation selector not found'); return; }


// Set the path to be a relative URL from root.
Expand Down Expand Up @@ -384,7 +382,6 @@

var instance = this,
opts = instance.options,
debug = instance._debug,
path = opts.path,
box, frag, desturl, method, condition,
pageNum = pageNum || null,
Expand Down

0 comments on commit a3aa7f8

Please sign in to comment.