diff --git a/docs/client/api.html b/docs/client/api.html index f1cf513a3df..8fd8119c100 100644 --- a/docs/client/api.html +++ b/docs/client/api.html @@ -219,7 +219,7 @@

Methods

function throws a different exception, then it will be mapped to `Meteor.Error(500, "Internal server error")` on the wire. -{{> api_box call}} +{{> api_box meteor_call}} This is how to invoke a method. It will run the method on the server. If a stub is available, it will also run the stub on the client. @@ -267,7 +267,7 @@

Methods

their "real" versions that update the database (using credentials known only to the server.) -{{> api_box apply}} +{{> api_box meteor_apply}} `Meteor.apply` is just like `Meteor.call`, but it allows the arguments to be passed as an array. diff --git a/docs/client/api.js b/docs/client/api.js index c112e252307..5bd2b94d2b5 100644 --- a/docs/client/api.js +++ b/docs/client/api.js @@ -193,7 +193,7 @@ Template.api.error = { ] }; -Template.api.call = { +Template.api.meteor_call = { id: "meteor_call", name: "Meteor.call(func, arg1, arg2, ... [, asyncCallback])", locus: "Anywhere", @@ -211,7 +211,7 @@ Template.api.call = { ] }; -Template.api.apply = { +Template.api.meteor_apply = { id: "meteor_apply", name: "Meteor.apply(name, params [, asyncCallback])", locus: "Anywhere",