diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 9ec134337..35f841ab4 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -10,6 +10,12 @@ - Loader - `inline loader` now has a `centered` variation +**Bugs** +- Item - `img` inside of `ui item content` now do not receive formatting by default + +**Docs** +- Item - Significant rewrite of `ui item` documentation + ### Version 1.10.1-2 - February 24, 2015 No changes, fixes stale pm component builds diff --git a/src/definitions/behaviors/visibility.js b/src/definitions/behaviors/visibility.js index 0d2fb6534..cce0862ef 100644 --- a/src/definitions/behaviors/visibility.js +++ b/src/definitions/behaviors/visibility.js @@ -950,19 +950,26 @@ $.fn.visibility.settings = { name : 'Visibility', namespace : 'visibility', - className: { - fixed: 'fixed' - }, - - observeChanges : true, - debug : false, verbose : false, performance : true, + // whether to use mutation observers to follow changes + observeChanges : true, + + // callback should only occur one time + once : true, + + // callback should fire continuously whe evaluates to true + continuous : false, + + // offset to use with scroll top offset : 0, + + // whether to include margin in elements position includeMargin : false, + // scroll context for visibility checks context : window, // check position immediately on init @@ -995,13 +1002,14 @@ $.fn.visibility.settings = { onTopPassedReverse : false, onBottomPassedReverse : false, - once : true, - continuous : false, - // utility callbacks onRefresh : function(){}, onScroll : function(){}, + className: { + fixed: 'fixed' + }, + error : { method : 'The method you called is not defined.' }