Skip to content

Commit

Permalink
Merge pull request angular-ui#3922 from angular-ui/JLLeitschuh-patch-1
Browse files Browse the repository at this point in the history
Fixes documentation in ui-grid-util.js
  • Loading branch information
JLLeitschuh committed Jul 2, 2015
2 parents f2368cc + 2af2f98 commit 448168b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/js/core/services/ui-grid-util.js
Original file line number Diff line number Diff line change
Expand Up @@ -915,9 +915,9 @@ module.service('gridUtil', ['$log', '$window', '$document', '$http', '$templateC
* @methodOf ui.grid.service:GridUtil
*
* @param {element} element The element to get the `scrollLeft` from.
* @param {boolean} grid - grid used to normalize (uses the rtl property)
* @param {grid} grid - grid used to normalize (uses the rtl property)
*
* @returns {int} A normalized scrollLeft value for the current browser.
* @returns {number} A normalized scrollLeft value for the current browser.
*
* @description
* Browsers currently handle RTL in different ways, resulting in inconsistent scrollLeft values. This method normalizes them
Expand Down Expand Up @@ -945,14 +945,14 @@ module.service('gridUtil', ['$log', '$window', '$document', '$http', '$templateC

/**
* @ngdoc method
* @name normalizeScrollLeft
* @name denormalizeScrollLeft
* @methodOf ui.grid.service:GridUtil
*
* @param {element} element The element to normalize the `scrollLeft` value for
* @param {int} scrollLeft The `scrollLeft` value to denormalize.
* @param {boolean} grid The grid that owns the scroll event.
* @param {number} scrollLeft The `scrollLeft` value to denormalize.
* @param {grid} grid The grid that owns the scroll event.
*
* @returns {int} A normalized scrollLeft value for the current browser.
* @returns {number} A normalized scrollLeft value for the current browser.
*
* @description
* Browsers currently handle RTL in different ways, resulting in inconsistent scrollLeft values. This method denormalizes a value for the current browser.
Expand Down Expand Up @@ -1019,7 +1019,7 @@ module.service('gridUtil', ['$log', '$window', '$document', '$http', '$templateC
*
* @param {function} func function to debounce
* @param {number} wait milliseconds to delay
* @param {bool} immediate execute before delay
* @param {boolean} immediate execute before delay
*
* @returns {function} A function that can be executed as debounced function
*
Expand Down

0 comments on commit 448168b

Please sign in to comment.