Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #664 from ExactTarget/infinite-scroll-method-bug
Browse files Browse the repository at this point in the history
3.0.2-wip: fix for issue #651 - infinitescroll plugin definition searche...
  • Loading branch information
Kevin Parkerson committed Sep 12, 2014
2 parents b13b00f + 5797bfd commit c8ac984
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Binary file modified dist/fuelux.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions dist/js/fuelux.js
Original file line number Diff line number Diff line change
Expand Up @@ -1153,10 +1153,10 @@

var $set = this.each( function() {
var $this = $( this );
var data = $this.data( 'datepicker' );
var data = $this.data( 'fu.datepicker' );
var options = typeof option === 'object' && option;

if ( !data ) $this.data( 'datepicker', ( data = new Datepicker( this, options ) ) );
if ( !data ) $this.data( 'fu.datepicker', ( data = new Datepicker( this, options ) ) );
if ( typeof option === 'string' ) methodReturn = data[ option ].apply( data, args );
} );

Expand Down Expand Up @@ -3695,7 +3695,7 @@

var $set = this.each( function() {
var $this = $( this );
var data = $this.data( 'infinitescroll' );
var data = $this.data( 'fu.infinitescroll' );
var options = typeof option === 'object' && option;

if ( !data ) $this.data( 'fu.infinitescroll', ( data = new InfiniteScroll( this, options ) ) );
Expand Down
4 changes: 2 additions & 2 deletions dist/js/fuelux.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -627,10 +627,10 @@

var $set = this.each(function () {
var $this = $( this );
var data = $this.data( 'datepicker' );
var data = $this.data( 'fu.datepicker' );
var options = typeof option === 'object' && option;

if( !data ) $this.data('datepicker', (data = new Datepicker( this, options ) ) );
if( !data ) $this.data('fu.datepicker', (data = new Datepicker( this, options ) ) );
if( typeof option === 'string' ) methodReturn = data[ option ].apply( data, args );
});

Expand Down
2 changes: 1 addition & 1 deletion js/infinite-scroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@

var $set = this.each(function () {
var $this = $( this );
var data = $this.data('infinitescroll');
var data = $this.data('fu.infinitescroll');
var options = typeof option === 'object' && option;

if( !data ) $this.data('fu.infinitescroll', (data = new InfiniteScroll( this, options ) ) );
Expand Down

0 comments on commit c8ac984

Please sign in to comment.