Skip to content

Commit a7a9b5a

Browse files
committed
Tweak docs
1 parent 54ab616 commit a7a9b5a

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

ClearBlade.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -518,17 +518,8 @@ if (!window.console) {
518518
/**
519519
* Reqests an item or a set of items from the collection.
520520
* @method ClearBlade.Collection.prototype.fetch
521-
* @param {Query} _query Used to request a specific item or subset of items from the collection on the server
521+
* @param {Query} _query Used to request a specific item or subset of items from the collection on the server. Optional.
522522
* @param {function} callback Supplies processing for what to do with the data that is returned from the collection
523-
* @example <caption>The typical callback</caption>
524-
* var callback = function (err, data) {
525-
* if (err) {
526-
* //error handling
527-
* } else {
528-
* console.log(data);
529-
* }
530-
* };
531-
*
532523
* @example <caption>Fetching data from a collection</caption>
533524
* var returnedData = [];
534525
* var callback = function (err, data) {

0 commit comments

Comments
 (0)