@@ -78,8 +78,8 @@ define([
78
78
} ,
79
79
80
80
/**
81
- * Adds new action. If action with a specfied identifier
82
- * already exists, than the original will be overrided .
81
+ * Adds new action. If an action with the specified identifier
82
+ * already exists, then the original will be overriden .
83
83
*
84
84
* @param {String } index - Actions' identifier.
85
85
* @param {Object } action - Actions' data.
@@ -108,7 +108,7 @@ define([
108
108
109
109
/**
110
110
* Processes actions, setting additional information to them and
111
- * evaluating ther properties as a string templates.
111
+ * evaluating their properties as string templates.
112
112
*
113
113
* @private
114
114
* @param {Object } row - Row object.
@@ -204,11 +204,11 @@ define([
204
204
} ,
205
205
206
206
/**
207
- * Creates action callback based on its' data. If action doesn't spicify
207
+ * Creates action callback based on it's data. If the action doesn't specify
208
208
* a callback function than the default one will be used.
209
209
*
210
210
* @private
211
- * @param {Object } action - Actions' object.
211
+ * @param {Object } action - Action's object.
212
212
* @returns {Function } Callback function.
213
213
*/
214
214
_getCallback : function ( action ) {
@@ -234,7 +234,7 @@ define([
234
234
* Creates action callback for multiple actions.
235
235
*
236
236
* @private
237
- * @param {Object } action - Actions' object.
237
+ * @param {Object } action - Action's object.
238
238
* @returns {Function } Callback function.
239
239
*/
240
240
_getCallbacks : function ( action ) {
@@ -259,12 +259,12 @@ define([
259
259
260
260
/**
261
261
* Default action callback. Redirects to
262
- * the specified in actions' data url.
262
+ * the specified in action's data url.
263
263
*
264
- * @param {String } actionIndex - Actions' identifier.
265
- * @param {(Number|String) } recordId - Id of the record accociated
266
- * with a specfied action.
267
- * @param {Object } action - Actions' data.
264
+ * @param {String } actionIndex - Action's identifier.
265
+ * @param {(Number|String) } recordId - Id of the record associated
266
+ * with a specified action.
267
+ * @param {Object } action - Action's data.
268
268
*/
269
269
defaultCallback : function ( actionIndex , recordId , action ) {
270
270
window . location . href = action . href ;
@@ -273,7 +273,7 @@ define([
273
273
/**
274
274
* Shows actions' confirmation window.
275
275
*
276
- * @param {Object } action - Actions' data.
276
+ * @param {Object } action - Action's data.
277
277
* @param {Function } callback - Callback that will be
278
278
* invoked if action is confirmed.
279
279
*/
0 commit comments