Skip to content

Commit fe2f994

Browse files
committed
Update Parse.Cloud.js
1 parent 54620da commit fe2f994

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/cloud-code/Parse.Cloud.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ ParseCloud.job = function (functionName, handler) {
134134
*
135135
* **Available in Cloud Code only.**
136136
*
137-
* If you want to use beforeSave for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User}), you should pass the class itself and not the String for arg1.
137+
* If you want to use beforeSave for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User} or {@link Parse.File}), you should pass the class itself and not the String for arg1.
138138
*
139139
* ```
140140
* Parse.Cloud.beforeSave('MyCustomClass', (request) => {
@@ -171,7 +171,7 @@ ParseCloud.beforeSave = function (parseClass, handler, validationHandler) {
171171
*
172172
* **Available in Cloud Code only.**
173173
*
174-
* If you want to use beforeDelete for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User}), you should pass the class itself and not the String for arg1.
174+
* If you want to use beforeDelete for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User} or {@link Parse.File}), you should pass the class itself and not the String for arg1.
175175
* ```
176176
* Parse.Cloud.beforeDelete('MyCustomClass', (request) => {
177177
* // code here
@@ -300,7 +300,7 @@ ParseCloud.afterLogout = function (handler) {
300300
*
301301
* **Available in Cloud Code only.**
302302
*
303-
* If you want to use afterSave for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User}), you should pass the class itself and not the String for arg1.
303+
* If you want to use afterSave for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User} or {@link Parse.File}), you should pass the class itself and not the String for arg1.
304304
*
305305
* ```
306306
* Parse.Cloud.afterSave('MyCustomClass', async function(request) {
@@ -337,7 +337,7 @@ ParseCloud.afterSave = function (parseClass, handler, validationHandler) {
337337
*
338338
* **Available in Cloud Code only.**
339339
*
340-
* If you want to use afterDelete for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User}), you should pass the class itself and not the String for arg1.
340+
* If you want to use afterDelete for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User} or {@link Parse.File}), you should pass the class itself and not the String for arg1.
341341
* ```
342342
* Parse.Cloud.afterDelete('MyCustomClass', async (request) => {
343343
* // code here
@@ -373,7 +373,7 @@ ParseCloud.afterDelete = function (parseClass, handler, validationHandler) {
373373
*
374374
* **Available in Cloud Code only.**
375375
*
376-
* If you want to use beforeFind for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User}), you should pass the class itself and not the String for arg1.
376+
* If you want to use beforeFind for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User} or {@link Parse.File}), you should pass the class itself and not the String for arg1.
377377
* ```
378378
* Parse.Cloud.beforeFind('MyCustomClass', async (request) => {
379379
* // code here
@@ -409,7 +409,7 @@ ParseCloud.beforeFind = function (parseClass, handler, validationHandler) {
409409
*
410410
* **Available in Cloud Code only.**
411411
*
412-
* If you want to use afterFind for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User}), you should pass the class itself and not the String for arg1.
412+
* If you want to use afterFind for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User} or {@link Parse.File}), you should pass the class itself and not the String for arg1.
413413
* ```
414414
* Parse.Cloud.afterFind('MyCustomClass', async (request) => {
415415
* // code here
@@ -632,7 +632,7 @@ ParseCloud.sendEmail = function (data) {
632632
*
633633
* **Available in Cloud Code only.**
634634
*
635-
* If you want to use beforeSubscribe for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User}), you should pass the class itself and not the String for arg1.
635+
* If you want to use beforeSubscribe for a predefined class in the Parse JavaScript SDK (e.g. {@link Parse.User} or {@link Parse.File}), you should pass the class itself and not the String for arg1.
636636
* ```
637637
* Parse.Cloud.beforeSubscribe('MyCustomClass', (request) => {
638638
* // code here

0 commit comments

Comments
 (0)