Skip to content

Commit

Permalink
#2615 re-order settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Jul 13, 2015
1 parent 14c2b3d commit c091f50
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/definitions/behaviors/visibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -1137,12 +1137,18 @@ $.fn.visibility.settings = {
// whether to use mutation observers to follow changes
observeChanges : true,

// check position immediately on init
initialCheck : true,

// whether to refresh calculations after all page images load
refreshOnLoad : true,

// whether to refresh calculations after page resize event
refreshOnResize : true,

// should call callbacks on refresh event (resize, etc)
checkOnRefresh : true,

// callback should only occur one time
once : true,

Expand All @@ -1158,9 +1164,6 @@ $.fn.visibility.settings = {
// scroll context for visibility checks
context : window,

// check position immediately on init
initialCheck : true,

// visibility check delay in ms (defaults to animationFrame)
throttle : false,

Expand All @@ -1174,9 +1177,6 @@ $.fn.visibility.settings = {
// array of callbacks for percentage
onPassed : {},

// should call callbacks on refresh event (resize, etc)
checkOnRefresh : true,

// standard callbacks
onOnScreen : false,
onOffScreen : false,
Expand Down

0 comments on commit c091f50

Please sign in to comment.