fix Template.api.{call,apply} conflicting with methods in docs, brekaing IE

This commit is contained in:
David Greenspan
2012-04-04 17:13:48 -07:00
parent 5d0388c5b8
commit 42f908a73c
2 changed files with 4 additions and 4 deletions

View File

@@ -219,7 +219,7 @@ kind of error that a server will send to the client. If a method
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 @@ invoking their stub versions that update the local cache, instead of
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.

View File

@@ -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",