Skip to content

Commit 2907d4c

Browse files
Portugal, Marcelomportuga
authored andcommitted
docs(Grid.js): Fixing minor documentation issues.
1 parent c2824d5 commit 2907d4c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/js/core/factories/Grid.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -941,8 +941,7 @@ angular.module('ui.grid')
941941
var html = col.cellTemplate.replace(uiGridConstants.MODEL_COL_FIELD, self.getQualifiedColField(col));
942942
html = html.replace(uiGridConstants.COL_FIELD, 'grid.getCellValue(row, col)');
943943

944-
var compiledElementFn = $compile(html);
945-
col.compiledElementFn = compiledElementFn;
944+
col.compiledElementFn = $compile(html);
946945

947946
if (col.compiledElementFnDefer) {
948947
col.compiledElementFnDefer.resolve(col.compiledElementFn);
@@ -1250,7 +1249,7 @@ angular.module('ui.grid')
12501249
* @description registered a styleComputation function
12511250
*
12521251
* If the function returns a value it will be appended into the grid's `<style>` block
1253-
* @param {function($scope)} styleComputation function
1252+
* @param {function($scope)} styleComputationInfo function
12541253
*/
12551254
Grid.prototype.registerStyleComputation = function registerStyleComputation(styleComputationInfo) {
12561255
this.styleComputations.push(styleComputationInfo);
@@ -1291,7 +1290,7 @@ angular.module('ui.grid')
12911290
* to alter the set of rows (sorting, etc) as long as the count is not
12921291
* modified.
12931292
*
1294-
* @param {function(renderedRowsToProcess, columns )} processorFunction rows processor function, which
1293+
* @param {function(renderedRowsToProcess, columns )} processor rows processor function, which
12951294
* is run in the context of the grid (i.e. this for the function will be the grid), and must
12961295
* return the updated rows list, which is passed to the next processor in the chain
12971296
* @param {number} priority the priority of this processor. In general we try to do them in 100s to leave room
@@ -1315,7 +1314,7 @@ angular.module('ui.grid')
13151314
* @ngdoc function
13161315
* @name removeRowsProcessor
13171316
* @methodOf ui.grid.class:Grid
1318-
* @param {function(renderableRows)} rows processor function
1317+
* @param {function(renderableRows)} processor processor function
13191318
* @description Remove a registered rows processor
13201319
*/
13211320
Grid.prototype.removeRowsProcessor = function removeRowsProcessor(processor) {
@@ -1335,8 +1334,7 @@ angular.module('ui.grid')
13351334
* Private Undocumented Method
13361335
* @name processRowsProcessors
13371336
* @methodOf ui.grid.class:Grid
1338-
* @param {Array[GridRow]} The array of "renderable" rows
1339-
* @param {Array[GridColumn]} The array of columns
1337+
* @param {Array[GridRow]} renderableRows The array of "renderable" rows
13401338
* @description Run all the registered rows processors on the array of renderable rows
13411339
*/
13421340
Grid.prototype.processRowsProcessors = function processRowsProcessors(renderableRows) {
@@ -1436,7 +1434,7 @@ angular.module('ui.grid')
14361434
* @ngdoc function
14371435
* @name registerColumnsProcessor
14381436
* @methodOf ui.grid.class:Grid
1439-
* @param {function(renderedColumnsToProcess, rows)} columnProcessor column processor function, which
1437+
* @param {function(renderedColumnsToProcess, rows)} processor column processor function, which
14401438
* is run in the context of the grid (i.e. this for the function will be the grid), and
14411439
* which must return an updated renderedColumnsToProcess which can be passed to the next processor
14421440
* in the chain

0 commit comments

Comments
 (0)