@@ -941,8 +941,7 @@ angular.module('ui.grid')
941
941
var html = col . cellTemplate . replace ( uiGridConstants . MODEL_COL_FIELD , self . getQualifiedColField ( col ) ) ;
942
942
html = html . replace ( uiGridConstants . COL_FIELD , 'grid.getCellValue(row, col)' ) ;
943
943
944
- var compiledElementFn = $compile ( html ) ;
945
- col . compiledElementFn = compiledElementFn ;
944
+ col . compiledElementFn = $compile ( html ) ;
946
945
947
946
if ( col . compiledElementFnDefer ) {
948
947
col . compiledElementFnDefer . resolve ( col . compiledElementFn ) ;
@@ -1250,7 +1249,7 @@ angular.module('ui.grid')
1250
1249
* @description registered a styleComputation function
1251
1250
*
1252
1251
* 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
1254
1253
*/
1255
1254
Grid . prototype . registerStyleComputation = function registerStyleComputation ( styleComputationInfo ) {
1256
1255
this . styleComputations . push ( styleComputationInfo ) ;
@@ -1291,7 +1290,7 @@ angular.module('ui.grid')
1291
1290
* to alter the set of rows (sorting, etc) as long as the count is not
1292
1291
* modified.
1293
1292
*
1294
- * @param {function(renderedRowsToProcess, columns ) } processorFunction rows processor function, which
1293
+ * @param {function(renderedRowsToProcess, columns ) } processor rows processor function, which
1295
1294
* is run in the context of the grid (i.e. this for the function will be the grid), and must
1296
1295
* return the updated rows list, which is passed to the next processor in the chain
1297
1296
* @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')
1315
1314
* @ngdoc function
1316
1315
* @name removeRowsProcessor
1317
1316
* @methodOf ui.grid.class:Grid
1318
- * @param {function(renderableRows) } rows processor function
1317
+ * @param {function(renderableRows) } processor processor function
1319
1318
* @description Remove a registered rows processor
1320
1319
*/
1321
1320
Grid . prototype . removeRowsProcessor = function removeRowsProcessor ( processor ) {
@@ -1335,8 +1334,7 @@ angular.module('ui.grid')
1335
1334
* Private Undocumented Method
1336
1335
* @name processRowsProcessors
1337
1336
* @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
1340
1338
* @description Run all the registered rows processors on the array of renderable rows
1341
1339
*/
1342
1340
Grid . prototype . processRowsProcessors = function processRowsProcessors ( renderableRows ) {
@@ -1436,7 +1434,7 @@ angular.module('ui.grid')
1436
1434
* @ngdoc function
1437
1435
* @name registerColumnsProcessor
1438
1436
* @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
1440
1438
* is run in the context of the grid (i.e. this for the function will be the grid), and
1441
1439
* which must return an updated renderedColumnsToProcess which can be passed to the next processor
1442
1440
* in the chain
0 commit comments